Spaces:
Runtime error
Runtime error
Bhushan4829 commited on
Commit ·
d63c76a
1
Parent(s): 2272880
Dockerfile with Gunicorn
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -28,4 +28,5 @@ RUN python -c "import nltk; nltk.download('punkt', download_dir='/app/nltk_data'
|
|
| 28 |
EXPOSE 2000
|
| 29 |
|
| 30 |
# Run the Flask app (assuming final_code.py is in src and now at /app)
|
| 31 |
-
CMD ["python", "final_code.py"]
|
|
|
|
|
|
| 28 |
EXPOSE 2000
|
| 29 |
|
| 30 |
# Run the Flask app (assuming final_code.py is in src and now at /app)
|
| 31 |
+
# CMD ["python", "final_code.py"]
|
| 32 |
+
CMD ["gunicorn", "--bind", "0.0.0.0:2000", "final_code:app"]
|