From fdebd052a9d592b455ce6dde040111e12600ce64 Mon Sep 17 00:00:00 2001 From: creylopez Date: Thu, 16 Jan 2025 09:23:52 +0000 Subject: [PATCH] =?UTF-8?q?A=C3=B1ado=20collectstatic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/config/entrypoint.sh b/src/config/entrypoint.sh index aecfc36..c9f4a44 100644 --- a/src/config/entrypoint.sh +++ b/src/config/entrypoint.sh @@ -2,6 +2,8 @@ RUN_PORT="8000" /opt/venv/bin/python manage.py migrate --no-input +/opt/venv/bin/python manage.py collectstatic + /opt/venv/bin/gunicorn cfehome.wsgi:application --bind "0.0.0.0:${RUN_PORT}" --daemon nginx -g 'daemon off;'