Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -21,5 +21,6 @@ ENV FLASK_APP=app.py
|
|
| 21 |
ENV FLASK_RUN_HOST=0.0.0.0
|
| 22 |
ENV FLASK_RUN_PORT=5000
|
| 23 |
|
| 24 |
-
#
|
|
|
|
| 25 |
CMD ["gunicorn", "-b", "0.0.0.0:5000", "app:app"]
|
|
|
|
| 21 |
ENV FLASK_RUN_HOST=0.0.0.0
|
| 22 |
ENV FLASK_RUN_PORT=5000
|
| 23 |
|
| 24 |
+
# Hugging Face requires `flask` to run with specific configurations:
|
| 25 |
+
# To run Flask via HuggingFace, you'll need `gunicorn` to be used as below:
|
| 26 |
CMD ["gunicorn", "-b", "0.0.0.0:5000", "app:app"]
|