Properly collectstatic on docker build
This commit is contained in:
parent
d026e41ac5
commit
ae219a2533
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue