This commit is contained in:
2026-08-24 15:54:08 +03:30
commit 236002a87c
133 changed files with 5946 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh
set -e
if [ -z "$1" ]; then
echo "🔧 Applying database migrations..."
python manage.py migrate --noinput
echo "🧹 Collecting static files..."
python manage.py collectstatic --noinput
echo "🚀 Starting Gunicorn..."
exec gunicorn config.wsgi:application --bind 0.0.0.0:8000 --workers 3
fi
exec "$@"