Spaces:
Running
Running
Update Dockerfile (#7)
Browse files- Update Dockerfile (01acff3d14bacb9174816fc538ad10f1641ad8c1)
Co-authored-by: Khan <[email protected]>
- Dockerfile +5 -1
Dockerfile
CHANGED
@@ -14,4 +14,8 @@ COPY src/ ./src/
|
|
14 |
|
15 |
RUN pip3 install -r requirements.txt
|
16 |
|
17 |
-
EXPOSE 8501
|
|
|
|
|
|
|
|
|
|
14 |
|
15 |
RUN pip3 install -r requirements.txt
|
16 |
|
17 |
+
EXPOSE 8501
|
18 |
+
|
19 |
+
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
20 |
+
|
21 |
+
ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]
|