Skip to content

Commit

Permalink
Used Gunicorn instead of WSGI for flask
Browse files Browse the repository at this point in the history
  • Loading branch information
2003HARSH committed Nov 9, 2024
1 parent 57b0eec commit c6cfbd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ RUN python -m nltk.downloader stopwords wordnet

EXPOSE 5000

CMD ["python","app.py"]
CMD ["gunicorn","-b","0.0.0.0:5000","app:app"]
1 change: 1 addition & 0 deletions flask_app/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ mlflow_skinny==2.15.1
nltk==3.8.1
numpy==1.24.2
pandas==1.5.3
gunicorn

0 comments on commit c6cfbd2

Please sign in to comment.