fix(docker:single): procrastinate starts before django

This commit is contained in:
Herculino Trotta
2025-02-05 10:52:21 -03:00
parent 80edf557cb
commit 6c17b3babb
4 changed files with 27 additions and 0 deletions

View File

@@ -4,5 +4,11 @@ set -o errexit
set -o pipefail
set -o nounset
rm -f /tmp/migrations_complete
python manage.py migrate
# Create flag file to signal migrations are complete
touch /tmp/migrations_complete
exec python manage.py runserver 0.0.0.0:8000