Skip to content

Commit c507738

Browse files
committed
Using WSGI instead of Gunicorn for debugging
1 parent f7b361a commit c507738

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ RUN python -m nltk.downloader stopwords wordnet
1212

1313
EXPOSE 5000
1414

15-
CMD ["gunicorn","-b","0.0.0.0:5000","app:app"]
15+
CMD ["python","app.py"]

flask_app/requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ mlflow==2.15.1
33
mlflow_skinny==2.15.1
44
nltk==3.8.1
55
numpy==1.24.2
6-
pandas==1.5.3
7-
gunicorn
6+
pandas==1.5.3

0 commit comments

Comments
 (0)