Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -13,11 +13,11 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 13 |
# Copy the rest of the application files
|
| 14 |
COPY . .
|
| 15 |
|
| 16 |
-
# Expose port (
|
| 17 |
-
EXPOSE
|
| 18 |
|
| 19 |
# Set environment variables
|
| 20 |
ENV PYTHONUNBUFFERED=1
|
| 21 |
|
| 22 |
-
# Run the Flask app
|
| 23 |
-
CMD ["python", "app.py"]
|
|
|
|
| 13 |
# Copy the rest of the application files
|
| 14 |
COPY . .
|
| 15 |
|
| 16 |
+
# Expose port 7860 (Hugging Face default)
|
| 17 |
+
EXPOSE 7860
|
| 18 |
|
| 19 |
# Set environment variables
|
| 20 |
ENV PYTHONUNBUFFERED=1
|
| 21 |
|
| 22 |
+
# Run the Flask app on 0.0.0.0:7860 (required by HF)
|
| 23 |
+
CMD ["python", "app.py"]
|