geogame/docker-entrypoint.sh

10 lines
230 B
Bash
Raw Normal View History

2020-12-29 22:20:14 +01:00
#!/usr/bin/env bash
# Apply database migrations
echo "Apply database migrations"
2020-12-30 02:06:27 +01:00
python manage.py migrate --noinput
2020-12-29 22:20:14 +01:00
# Start server
echo "Starting server"
gunicorn -b 0.0.0.0:8080 --workers 4 --threads 4 geogame.wsgi:application