File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 2323 rm -rf /var/lib/apt/lists && \
2424 true
2525COPY requirements.txt ./
26- RUN pip3 wheel --wheel-dir=/tmp/wheels -r ./requirements.txt
26+ RUN pip3 install --no-cache-dir --upgrade pip
27+ RUN pip3 wheel --wheel-dir=/tmp/wheels -r ./requirements.txt --use-deprecated=legacy-resolver
2728
2829FROM python:3.6.12-slim-buster@sha256:e5259113df5a7c4dae16ad37c2ca53b1cf722e051cfd5f624e7b76aa72389e0c
2930WORKDIR /app
@@ -59,7 +60,8 @@ RUN pip3 install \
5960 --no-cache-dir \
6061 --no-index \
6162 --find-links=/tmp/wheels \
62- -r ./requirements.txt
63+ -r ./requirements.txt \
64+ --use-deprecated=legacy-resolver
6365COPY \
6466 docker/entrypoint-celery-beat.sh \
6567 docker/entrypoint-celery-worker.sh \
Original file line number Diff line number Diff line change 2020 rm -rf /var/lib/apt/lists && \
2121 true
2222COPY requirements.txt ./
23- RUN pip3 wheel --wheel-dir=/tmp/wheels -r ./requirements.txt
23+ RUN pip3 install --no-cache-dir --upgrade pip
24+ RUN pip3 wheel --wheel-dir=/tmp/wheels -r ./requirements.txt --use -deprecated=legacy-resolver
2425
2526FROM build AS collectstatic
2627
@@ -46,11 +47,13 @@ RUN \
4647 rm -rf /var/lib/apt/lists && \
4748 true
4849
50+ RUN pip3 install --no-cache-dir --upgrade pip
4951RUN pip3 install \
5052 --no-cache-dir \
5153 --no-index \
5254 --find-links=/tmp/wheels \
53- -r ./requirements.txt
55+ -r ./requirements.txt \
56+ --use -deprecated=legacy-resolver
5457
5558COPY components/ ./components/
5659COPY manage.py ./
You can’t perform that action at this time.
0 commit comments