chore: minor cleanup, healthcheck
This commit is contained in:
parent
2611d1bb6d
commit
42282ce8cb
7 changed files with 42 additions and 8 deletions
|
|
@ -28,6 +28,9 @@ VOLUME ["/data"]
|
|||
|
||||
EXPOSE 80
|
||||
|
||||
HEALTHCHECK --start-period=5s --start-interval=1s CMD \
|
||||
test "$(curl -fsS "http://127.0.0.1:$PORT/health")" = "ok"
|
||||
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue