From 673f8000a7f87b907d7e7c9cd92a0a24a63b24fd Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 10 Dec 2022 01:27:39 +0100 Subject: [PATCH] Disable pip cache in docker build --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b921751..d754f4a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,7 +50,7 @@ ENV SECRET_KEY "changeme" ENV DEBUG "false" ENV DATABASE_URL "sqlite:////app/db/db.sqlite3" -RUN python -m pip install -r requirements.txt +RUN python -m pip install --no-cache-dir -r requirements.txt WORKDIR /app/src RUN python manage.py collectstatic --noinput --clear