summaryrefslogtreecommitdiffstats
path: root/docker-entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker-entrypoint.sh')
-rwxr-xr-xdocker-entrypoint.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh
index 2b17530..aed4a9f 100755
--- a/docker-entrypoint.sh
+++ b/docker-entrypoint.sh
@@ -2,14 +2,14 @@
cd /app
# Run migrations
-python manage.py migrate
+python manage.py --settings=conf.settings.prod migrate
# Try to create a superuser, skip if email is already taken
echo "Attempting to create superuser..."
-python manage.py createsuperuser --noinput || true
+#python manage.py createsuperuser --settings=conf.settings.prod --noinput || true
# Collect static files
-#python manage.py collectstatic --noinput
+python manage.py collectstatic --settings=conf.settings.prod --noinput
# Start Gunicorn
exec gunicorn --bind ':8000' --workers 3 ded.wsgi:application