1
0
Fork 0

Properly collectstatic on docker build

master
palid 2023-07-17 23:09:11 +02:00
parent d026e41ac5
commit ae219a2533
Signed by: palid
SSH Key Fingerprint: SHA256:Mus3wCd2x6nxtARI0DpWGT7lIWbNy3R90BVDg0j35PI
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"