Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -22,10 +22,10 @@ RUN pip install --no-cache-dir -r requirements.txt \
|
|
| 22 |
COPY . .
|
| 23 |
|
| 24 |
# 7. Expose the port
|
| 25 |
-
EXPOSE
|
| 26 |
|
| 27 |
# 8. Healthcheck
|
| 28 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 29 |
|
| 30 |
# 9. Entrypoint with the FINAL fix
|
| 31 |
-
CMD ["streamlit", "run", "app.py", "--server.port=
|
|
|
|
| 22 |
COPY . .
|
| 23 |
|
| 24 |
# 7. Expose the port
|
| 25 |
+
EXPOSE 7860
|
| 26 |
|
| 27 |
# 8. Healthcheck
|
| 28 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 29 |
|
| 30 |
# 9. Entrypoint with the FINAL fix
|
| 31 |
+
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]
|