diff --git a/entrypoint.sh b/entrypoint.sh index 86bf9e6..28d6b93 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,9 +1,9 @@ #!/bin/sh -python manage.py migrate --no-input -python manage.py collectstatic --no-input +python ./manage.py migrate --no-input +python ./manage.py collectstatic --no-input -DJANGO_SUPERUSER_PASSWORD=$SUPER_USER_PASSWORD python manage.py createsuperuser --username $SUPER_USER_NAME --email $SUPER_USER_EMAIL --noinput +DJANGO_SUPERUSER_PASSWORD=$SUPER_USER_PASSWORD python ./manage.py createsuperuser --username $SUPER_USER_NAME --email $SUPER_USER_EMAIL --noinput gunicorn repcofkk.wsgi:application --bind 0.0.0.0:8000