Add health check.
This commit is contained in:
parent
e4d6f2cf63
commit
7cd8728065
|
|
@ -18,4 +18,6 @@ ENV STREAMLIT_BROWSER_GATHER_USAGE_STATS=false
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
|
HEALTHCHECK CMD curl --fail http://localhost:3000/_stcore/health
|
||||||
|
|
||||||
ENTRYPOINT ["uv", "run", "streamlit", "run", "app.py", "--server.port=3000", "--server.address=0.0.0.0"]
|
ENTRYPOINT ["uv", "run", "streamlit", "run", "app.py", "--server.port=3000", "--server.address=0.0.0.0"]
|
||||||
Loading…
Reference in New Issue