Skip to content

Commit

Permalink
update:Gunicorn command to use correct WSGI application path
Browse files Browse the repository at this point in the history
Revised the Gunicorn startup command to reference `fbr.wsgi:application` instead of `config.wsgi`. This ensures the correct WSGI application module is used when the server starts.
  • Loading branch information
hareshkainthdbt committed Dec 12, 2024
1 parent cb0cdb1 commit d9b32c4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions paas_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

set -ex # Prints each command as it runs. If a command fails, it will halt at that point

cd fbr || exit 1
poetry run python manage.py migrate --noinput
poetry run gunicorn config.wsgi --bind "0.0.0.0:$PORT"

# Start the server
poetry run gunicorn fbr.wsgi:application --bind "0.0.0.0:$PORT"

0 comments on commit d9b32c4

Please sign in to comment.