fix: add Docker HEALTHCHECK to Dockerfile
From PR #1332. Co-authored-by: Leon.C <160379708+zichen0116@users.noreply.github.com>
This commit is contained in:
parent
b2fbacf847
commit
9a6caa1e78
1 changed files with 3 additions and 0 deletions
|
|
@ -92,5 +92,8 @@ ENV HERMES_WEBUI_PORT=8787
|
|||
|
||||
EXPOSE 8787
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|
||||
CMD curl -f http://localhost:8787/health || exit 1
|
||||
|
||||
CMD ["/hermeswebui_init.bash"]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue