Files
rogaining_srv/entrypoint.sh

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 "$@"