Skip to content

Commit

Permalink
Add gunicorn entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
somaye-moslemnejad committed Jul 3, 2024
1 parent 7b3dfb6 commit 0a38745
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ RUN chmod +x boot.sh
ENV FLASK_APP app

EXPOSE 5000
ENTRYPOINT ["./boot.sh"]
ENTRYPOINT ["gunicorn", "-b", "0.0.0.0:5000", "app.routes:app"]
Binary file modified app/__pycache__/evaluation_metrics.cpython-311.pyc
Binary file not shown.
Binary file modified app/__pycache__/routes.cpython-311.pyc
Binary file not shown.

0 comments on commit 0a38745

Please sign in to comment.