Don't use pip cache when building container

This commit is contained in:
Jake Howard 2022-08-27 15:10:16 +01:00
parent 830def684b
commit 28f44af7d3
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -28,7 +28,7 @@ USER website
RUN python -m venv $VIRTUAL_ENV
COPY --chown=website requirements/base.txt ./requirements/base.txt
RUN pip install --upgrade pip && pip install -r ./requirements/base.txt
RUN pip install --no-cache --upgrade pip && pip install --no-cache -r ./requirements/base.txt
COPY --chown=website --from=frontend ./static/build ./static/build