Fix entrypoint.sh

pull/1/head
Luca 3 years ago
parent 94b5638982
commit 7dd90e2c2c

@ -6,6 +6,7 @@ ROLE="${ROLE:-app}"
case "$ROLE" in case "$ROLE" in
app) app)
rm -rf static/*
python manage.py collectstatic python manage.py collectstatic
python manage.py migrate python manage.py migrate
gunicorn shiftregister.wsgi -b 0.0.0.0:8000 "$@" gunicorn shiftregister.wsgi -b 0.0.0.0:8000 "$@"

Loading…
Cancel
Save