Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -21,10 +21,10 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 21 |
COPY . .
|
| 22 |
|
| 23 |
# Expose the port Streamlit runs on
|
| 24 |
-
EXPOSE
|
| 25 |
|
| 26 |
# Healthcheck to ensure the container is responsive
|
| 27 |
-
HEALTHCHECK CMD curl --fail http://localhost:
|
| 28 |
|
| 29 |
# Command to run the application
|
| 30 |
# server.address=0.0.0.0 is crucial for Docker networking
|
|
|
|
| 21 |
COPY . .
|
| 22 |
|
| 23 |
# Expose the port Streamlit runs on
|
| 24 |
+
EXPOSE 8501
|
| 25 |
|
| 26 |
# Healthcheck to ensure the container is responsive
|
| 27 |
+
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health || exit 1
|
| 28 |
|
| 29 |
# Command to run the application
|
| 30 |
# server.address=0.0.0.0 is crucial for Docker networking
|