Skip to content

Commit

Permalink
feat: Improve gunicorn deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
drorganvidez committed Jul 21, 2023
1 parent 6116b01 commit 61be771
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,4 @@ COPY migrations/ ./migrations
EXPOSE 5000

# Run the database migrations and then start the application with Gunicorn
CMD flask db upgrade && gunicorn --bind 0.0.0.0:5000 app:app


CMD flask db upgrade && gunicorn --bind 0.0.0.0:5000 app:app --log-level debug

0 comments on commit 61be771

Please sign in to comment.