#!/bin/sh echo "Collecting static files..." python manage.py collectstatic --noinput echo "Applying database migrations..." python manage.py migrate --noinput python manage.py createsuperuser --no-input || true echo "Starting Gunicorn..." exec "$@"