Fix entrypoint.sh
This commit is contained in:
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…
Reference in New Issue