We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d70618 commit 31eda43Copy full SHA for 31eda43
1 file changed
Dockerfile
@@ -16,7 +16,7 @@ ARG VENV
16
# Set WORKDIR (also creates the dir)
17
WORKDIR $WORKDIR
18
19
-# Build wheels for uWSGI and all requirements
+# Install packages to build wheels for uWSGI and other requirements
20
RUN set -eux ;\
21
export DEBIAN_FRONTEND=noninteractive ;\
22
apt-get update ;\
@@ -40,8 +40,8 @@ ENV PIP_REQUIRE_VIRTUALENV=1
40
ENV PYTHONPYCACHEPREFIX=/tmp/__pycache__
41
42
# Install runtime dependencies
43
-RUN --mount=source=requirements/main.txt,target=requirements/main.txt \
44
- pip install -r requirements/main.txt
+RUN --mount=target=/build-ctx \
+ pip install -r /build-ctx/requirements/main.txt
45
RUN pip install uwsgi==$UWSGI_VERSION
46
# Install extra packages into the virtual env
47
RUN pip install ${EXTRA_PACKAGES}
0 commit comments