Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -6,6 +6,6 @@ COPY . /app
|
|
| 6 |
|
| 7 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 8 |
|
| 9 |
-
EXPOSE 5000
|
| 10 |
|
| 11 |
-
CMD ["
|
|
|
|
| 6 |
|
| 7 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 8 |
|
| 9 |
+
EXPOSE 7860 # Changed from 5000 to match Hugging Face Spaces default
|
| 10 |
|
| 11 |
+
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"] # Use gunicorn instead of python app.py
|