Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -12,7 +12,8 @@ RUN pip3 install --no-cache-dir -r requirements.txt
|
|
| 12 |
|
| 13 |
ENV PORT=7860
|
| 14 |
EXPOSE 7860
|
|
|
|
| 15 |
|
| 16 |
# Define the command to run the Streamlit app on port 8501 and make it accessible externally
|
| 17 |
# NOTE: Disable XSRF protection for easier external access in order to make batch predictions
|
| 18 |
-
CMD streamlit run app.py --server.port=$PORT --server.address=0.0.0.0 --server.headless=true --server.enableXsrfProtection=false
|
|
|
|
| 12 |
|
| 13 |
ENV PORT=7860
|
| 14 |
EXPOSE 7860
|
| 15 |
+
ENV HOME=/app
|
| 16 |
|
| 17 |
# Define the command to run the Streamlit app on port 8501 and make it accessible externally
|
| 18 |
# NOTE: Disable XSRF protection for easier external access in order to make batch predictions
|
| 19 |
+
CMD streamlit run app.py --server.port=$PORT --server.address=0.0.0.0 --server.headless=true --server.enableXsrfProtection=false --browser.gatherUsageStats=false
|