Spaces:
Sleeping
Sleeping
Docker update
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -10,7 +10,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 10 |
COPY app.py .
|
| 11 |
|
| 12 |
# HuggingFace Spaces requires port 7860
|
| 13 |
-
EXPOSE
|
| 14 |
|
| 15 |
# Run Flask via gunicorn
|
| 16 |
-
CMD ["gunicorn", "--bind", "0.0.0.0:
|
|
|
|
| 10 |
COPY app.py .
|
| 11 |
|
| 12 |
# HuggingFace Spaces requires port 7860
|
| 13 |
+
EXPOSE 7860
|
| 14 |
|
| 15 |
# Run Flask via gunicorn
|
| 16 |
+
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--timeout", "120", "app:app"]
|