Skip to content

Commit

Permalink
rm unnecessary environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsiungw committed May 8, 2024
1 parent ca24838 commit 095b296
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ RUN npm install -g yarn
RUN yarn install --dev --frozen-lockfile && yarn cache clean

FROM python_base as python_deps
ENV PYTHONUNBUFFERED=1 \
PIP_DISABLE_PIP_VERSION_CHECK=on \
PIP_DEFAULT_TIMEOUT=100 \
POETRY_HOME="/opt/poetry" \
POETRY_VIRTUALENVS_IN_PROJECT=true \
POETRY_NO_INTERACTION=1

ENV APP_DIR /usr/local/app

# Infrastructure tools
Expand All @@ -37,6 +30,10 @@ RUN apt-get install -y \
libxml2-dev \
libxslt-dev

ENV PIP_DISABLE_PIP_VERSION_CHECK=on \
PIP_DEFAULT_TIMEOUT=100 \
POETRY_VIRTUALENVS_IN_PROJECT=true

# Install Poetry
RUN pip install --no-cache-dir pip==23.3.2 && \
pip install --no-cache-dir poetry==1.8.2
Expand Down

0 comments on commit 095b296

Please sign in to comment.