Fix entrypoint.sh again
This commit is contained in:
parent
5934705dc7
commit
12237d736e
|
@ -6,7 +6,7 @@ rm -rf /app/static/*
|
|||
python manage.py collectstatic
|
||||
python manage.py migrate
|
||||
|
||||
if [ -z "$1" ] || [ "${1%-}" != "$1" ]
|
||||
if [ -z "$1" ] || [ "${1#-}" != "$1" ]
|
||||
then
|
||||
exec gunicorn ljg.wsgi "$@"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue