supli6669 commited on
Commit ·
2cbf47d
1
Parent(s): 91c7543
build: run streamlit in headless mode with usage stats disabled to prevent hugging face space run failures
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -41,5 +41,5 @@ RUN python tools/download_weights.py
|
|
| 41 |
# Expose port 7860 for Hugging Face Spaces
|
| 42 |
EXPOSE 7860
|
| 43 |
|
| 44 |
-
# Run Streamlit on port 7860
|
| 45 |
-
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]
|
|
|
|
| 41 |
# Expose port 7860 for Hugging Face Spaces
|
| 42 |
EXPOSE 7860
|
| 43 |
|
| 44 |
+
# Run Streamlit on port 7860 in headless mode
|
| 45 |
+
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.headless=true", "--browser.gatherUsageStats=false"]
|