Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -14,7 +14,7 @@ ENV XDG_CACHE_HOME=/data/.cache
|
|
| 14 |
ENV HF_HOME=/data/.cache/huggingface
|
| 15 |
ENV STREAMLIT_HOME=/data/.streamlit
|
| 16 |
ENV HOME=/data
|
| 17 |
-
ENV STREAMLIT_BROWSER_GATHER_USAGE_STATS=
|
| 18 |
|
| 19 |
COPY requirements.txt ./
|
| 20 |
COPY src/ ./src/
|
|
@@ -23,4 +23,4 @@ RUN pip3 install -r requirements.txt
|
|
| 23 |
EXPOSE 8501
|
| 24 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 25 |
|
| 26 |
-
ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableCORS=false","--server.enableXsrfProtection=
|
|
|
|
| 14 |
ENV HF_HOME=/data/.cache/huggingface
|
| 15 |
ENV STREAMLIT_HOME=/data/.streamlit
|
| 16 |
ENV HOME=/data
|
| 17 |
+
ENV STREAMLIT_BROWSER_GATHER_USAGE_STATS=false
|
| 18 |
|
| 19 |
COPY requirements.txt ./
|
| 20 |
COPY src/ ./src/
|
|
|
|
| 23 |
EXPOSE 8501
|
| 24 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
| 25 |
|
| 26 |
+
ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableCORS=false","--server.enableXsrfProtection=true"]
|