2
0
Fork 0

Fix entrypoint.sh

This commit is contained in:
Luca 2022-04-18 23:03:55 +02:00
parent 94b5638982
commit 7dd90e2c2c
1 changed files with 1 additions and 0 deletions

View File

@ -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 "$@"