From 6fd83e7398d98850e0554984e4cd051b9f8816ba Mon Sep 17 00:00:00 2001 From: Yohann D'anello Date: Sun, 2 Feb 2020 22:45:05 +0100 Subject: [PATCH] sleep before migration --- entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/entrypoint.sh b/entrypoint.sh index b9fb7ae..da32571 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,6 +1,7 @@ #!/bin/bash python manage.py compilemessages python manage.py makemigrations +sleep 5 python manage.py migrate # TODO: use uwsgi in production