From 6272307e35f1fef1e469004be10869f0e37ccd50 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 27 Aug 2022 19:01:14 +0100 Subject: [PATCH] Stop removing dependencies The container is layered, and this layer is in there. Until the layers are removed, it doesn't make any difference --- Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index dac779a..b4b201a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,8 +35,6 @@ RUN python -m venv $VIRTUAL_ENV COPY --chown=website requirements/base.txt ./requirements/base.txt RUN pip install --no-cache --upgrade pip && pip install --no-cache -r ./requirements/base.txt -RUN apt-get remove --yes build-essential && apt-get autoremove --yes && rm -rf /var/lib/apt/lists /var/cache/apt - COPY --chown=website --from=frontend ./static/build ./static/build COPY --chown=website ./etc ./etc