Spaces:
Sleeping
Sleeping
sakshamlakhera
commited on
Commit
·
4f47ea9
1
Parent(s):
509f10e
docker fix cache5
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -25,7 +25,7 @@ COPY . .
|
|
25 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
26 |
|
27 |
# Expose Streamlit port
|
28 |
-
EXPOSE
|
29 |
|
30 |
# Add health check for Docker
|
31 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health || exit 1
|
@@ -33,4 +33,4 @@ HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health || exit 1
|
|
33 |
ENV STREAMLIT_SERVER_ENABLECORS=false
|
34 |
|
35 |
# Run Streamlit
|
36 |
-
ENTRYPOINT ["streamlit", "run", "Home.py", "--server.port=
|
|
|
25 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
26 |
|
27 |
# Expose Streamlit port
|
28 |
+
EXPOSE 8501
|
29 |
|
30 |
# Add health check for Docker
|
31 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health || exit 1
|
|
|
33 |
ENV STREAMLIT_SERVER_ENABLECORS=false
|
34 |
|
35 |
# Run Streamlit
|
36 |
+
ENTRYPOINT ["streamlit", "run", "Home.py", "--server.port=8501", "--server.address=0.0.0.0"]
|