From a276aa3ccbe7806fadc0d49a31725d2af34adccd Mon Sep 17 00:00:00 2001 From: Corban-Lee Jones Date: Sun, 11 Aug 2024 22:52:50 +0100 Subject: [PATCH] collectstatic to dockerfile --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 41eedb9..ff3e38b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,5 +16,8 @@ COPY . /app/ # running migrations RUN python manage.py migrate +# collect static +RUN python manage.py collectstatic + # gunicorn CMD ["gunicorn", "--bind", "0.0.0.0:8000", "core.wsgi:application"]