This commit is contained in:
7
entrypoint.sh
Normal file
7
entrypoint.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
echo "Collecting static files..."
|
||||
python manage.py collectstatic --noinput
|
||||
echo "Applying database migrations..."
|
||||
python manage.py migrate --noinput
|
||||
echo "Starting Gunicorn..."
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user