Add health check.

This commit is contained in:
Gregor Trefalt 2025-10-28 15:10:05 +01:00
parent e4d6f2cf63
commit 7cd8728065
1 changed files with 2 additions and 0 deletions

View File

@ -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"]