#!/bin/sh cd /app # Run migrations python manage.py migrate # Try to create a superuser, skip if email is already taken echo "Attempting to create superuser..." python manage.py createsuperuser --noinput || true # Collect static files #python manage.py collectstatic --noinput # Start Gunicorn exec gunicorn --bind ':8000' --workers 3 ded.wsgi:application