Fix entrypoint.sh
This commit is contained in:
parent
94b5638982
commit
7dd90e2c2c
|
@ -6,6 +6,7 @@ ROLE="${ROLE:-app}"
|
|||
|
||||
case "$ROLE" in
|
||||
app)
|
||||
rm -rf static/*
|
||||
python manage.py collectstatic
|
||||
python manage.py migrate
|
||||
gunicorn shiftregister.wsgi -b 0.0.0.0:8000 "$@"
|
||||
|
|
Loading…
Reference in New Issue