Properly collectstatic on docker build

This commit is contained in:
Dariusz Niemczyk 2023-07-17 23:09:11 +02:00
parent d026e41ac5
commit ae219a2533
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -14,5 +14,5 @@ ADD . /code/
RUN python -m pip install gunicorn
RUN python manage.py collectstatic
RUN python manage.py collectstatic --no-input --clear
CMD bash -c "python manage.py migrate && gunicorn -b 0.0.0.0:8000 --capture-output --error-logfile - --access-logfile - spejstore.wsgi:application"