1
0
Fork 0
forked from hswaw/spejstore

Properly collectstatic on docker build

This commit is contained in:
palid 2023-07-17 23:09:11 +02:00
parent d026e41ac5
commit ae219a2533
Signed by: palid
SSH key fingerprint: SHA256:Mus3wCd2x6nxtARI0DpWGT7lIWbNy3R90BVDg0j35PI

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"