From e9e8fc351c85f9ca45757738d3711dbd90216707 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Sat, 10 Aug 2024 14:26:09 +0200 Subject: [PATCH] Add volume notes --- docker/django | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/django b/docker/django index 27eb800..8088b05 100644 --- a/docker/django +++ b/docker/django @@ -77,6 +77,9 @@ ARG POSTGRES_PASSWORD ARG DJANGO_SECRET_KEY ARG DJANGO_SETTINGS_MODULE +# Note that the static volume will have to be recreated to be pre-populated +# correctly with the latest static files. See +# https://docs.docker.com/storage/volumes/#populate-a-volume-using-a-container RUN python src/manage.py collectstatic --noinput