Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -23,5 +23,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 23 |
# Copy the current directory contents into the container at /app
|
| 24 |
COPY . .
|
| 25 |
|
| 26 |
-
#
|
|
|
|
|
|
|
|
|
|
| 27 |
CMD ["python", "app.py"]
|
|
|
|
| 23 |
# Copy the current directory contents into the container at /app
|
| 24 |
COPY . .
|
| 25 |
|
| 26 |
+
# Expose the port used by the health check server (Hugging Face default)
|
| 27 |
+
EXPOSE 7860
|
| 28 |
+
|
| 29 |
+
# Run app.py when the container launches
|
| 30 |
CMD ["python", "app.py"]
|