diff --git a/wrapper.sh b/wrapper.sh index bf00361..920f4cb 100755 --- a/wrapper.sh +++ b/wrapper.sh @@ -5,5 +5,7 @@ if [ "$FLASK_ENV" == "production" ]; then else cd /pybook_mapped_volume gunicorn --bind=0.0.0.0:5000 --workers=1 --threads=1 main:app --env FLASK_ENV="$FLASK_ENV" --error-logfile gunicorn.error.log --access-logfile gunicorn.log --capture-output --enable-stdio-inheritance --reload + # just in case it fails + sleep 10000 fi