la-chariotte/docker/entrypoint.sh

8 lines
149 B
Bash
Executable file

#!/usr/bin/env bash
set -euxo pipefail
echo "Migrate database..."
python manage.py migrate
echo "Start uwsgi..."
exec uwsgi --ini docker/uwsgi.ini