ci: add collectstatic on container build

This commit is contained in:
Superredstone committed 2026-09-14 19:46:58 +02:00
1 parent fca325d2cc
commit 4be478ab33
1 file changed
+1 -1
+1 -1
View File
@@ -17,4 +17,4 @@ COPY . .
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"]