Spaces:
Sleeping
Sleeping
Zwea Htet
commited on
Commit
•
edf98c8
1
Parent(s):
a9d51e0
update dockerfile
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
@@ -26,5 +26,10 @@ WORKDIR $HOME/app
|
|
26 |
# Set the working directory to the user's home directory
|
27 |
COPY --chown=user . $HOME/app
|
28 |
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
30 |
# CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
26 |
# Set the working directory to the user's home directory
|
27 |
COPY --chown=user . $HOME/app
|
28 |
|
29 |
+
EXPOSE 8501
|
30 |
+
|
31 |
+
HEALTHCHECK CMD --fail http://localhost:8501/_stcore/health
|
32 |
+
|
33 |
+
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
34 |
+
# CMD [ "streamlit" , "run", "app.py"]
|
35 |
# CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|