From 503cf19bd82bf3c843711a177d358ac35a7d6004 Mon Sep 17 00:00:00 2001 From: Sabron Date: Thu, 28 Dec 2023 10:27:44 +0700 Subject: [PATCH] update : 28.12.2023 10:27:44,18 --- entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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