Skip to content

Commit

Permalink
cleanup(docker): fix a little code-bloat
Browse files Browse the repository at this point in the history
  • Loading branch information
vit-zikmund committed Jan 2, 2025
1 parent 6d70618 commit 31eda43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ARG VENV
# Set WORKDIR (also creates the dir)
WORKDIR $WORKDIR

# Build wheels for uWSGI and all requirements
# Install packages to build wheels for uWSGI and other requirements
RUN set -eux ;\
export DEBIAN_FRONTEND=noninteractive ;\
apt-get update ;\
Expand All @@ -40,8 +40,8 @@ ENV PIP_REQUIRE_VIRTUALENV=1
ENV PYTHONPYCACHEPREFIX=/tmp/__pycache__

# Install runtime dependencies
RUN --mount=source=requirements/main.txt,target=requirements/main.txt \
pip install -r requirements/main.txt
RUN --mount=target=/build-ctx \
pip install -r /build-ctx/requirements/main.txt
RUN pip install uwsgi==$UWSGI_VERSION
# Install extra packages into the virtual env
RUN pip install ${EXTRA_PACKAGES}
Expand Down

0 comments on commit 31eda43

Please sign in to comment.