7 lines
196 B
Bash
7 lines
196 B
Bash
#!/bin/sh
|
|
echo "Collecting static files..."
|
|
python manage.py collectstatic --noinput
|
|
echo "Applying database migrations..."
|
|
python manage.py migrate --noinput
|
|
echo "Starting Gunicorn..."
|
|
exec "$@" |