diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 4f694d2..e8d309d 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -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