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 collectstatic
|
||||||
python manage.py migrate
|
python manage.py migrate
|
||||||
|
|
||||||
if [ -z "$1" ] || [ "${1%-}" != "$1" ]
|
if [ -z "$1" ] || [ "${1#-}" != "$1" ]
|
||||||
then
|
then
|
||||||
exec gunicorn ljg.wsgi "$@"
|
exec gunicorn ljg.wsgi "$@"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue