mirror of
https://github.com/Superredstone/patrickcanal.it.git
synced 2026-11-19 04:41:15 +01:00
ci: add collectstatic on container build
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -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"]
|
||||||
Reference in new issue
Block a user