Skip to content

Commit

Permalink
Update dockerrun.bash
Browse files Browse the repository at this point in the history
  • Loading branch information
jawadqur authored Nov 18, 2024
1 parent b52a6d9 commit 980fbae
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dockerrun.bash
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/bin/bash

poetry run gunicorn -c "/sheepdog/deployment/wsgi/gunicorn.conf.py" &
# sleep to prevent nginx warning logs so nginx doesn't start before the app
sleep 30
nginx -g 'daemon off;'
nginx
poetry run gunicorn -c "/sheepdog/deployment/wsgi/gunicorn.conf.py"

0 comments on commit 980fbae

Please sign in to comment.