ci: add collectstatic on container build

This commit is contained in:
2026-09-14 19:46:58 +02:00
parent fca325d2cc
commit 4be478ab33
+1 -1
View File
@@ -17,4 +17,4 @@ COPY . .
EXPOSE 8000 EXPOSE 8000
CMD ["sh", "-c", "python manage.py migrate && gunicorn patrickcanal_it.wsgi:application --bind 0.0.0.0:8000"] CMD ["sh", "-c", "python manage.py migrate && python manage.py collectstatic --noinput && gunicorn patrickcanal_it.wsgi:application --bind 0.0.0.0:8000"]