diff --git a/migrate-and-start-web-server.sh b/migrate-and-start-web-server.sh index abf2d31..29abf87 100644 --- a/migrate-and-start-web-server.sh +++ b/migrate-and-start-web-server.sh @@ -6,7 +6,7 @@ export FLASK_APP=wait_for_database.py flask run --host=0.0.0.0 --port=8181 & # Wait abit for the database to startup -sleep 10 +sleep 200 cd /migrations @@ -22,4 +22,4 @@ unset FLASK_APP cd /app #Start api service -/usr/bin/gunicorn --config /app/gunicorn_config.py wsgi:app \ No newline at end of file +/usr/bin/gunicorn --config /app/gunicorn_config.py wsgi:app