11 lines
157 B
Bash
11 lines
157 B
Bash
#!/bin/sh
|
|
|
|
# Collect static files
|
|
python manage.py collectstatic --noinput
|
|
|
|
# Apply database migrations
|
|
python manage.py migrate
|
|
|
|
# Start Gunicorn
|
|
exec "$@"
|