diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-14 16:30:47 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-14 16:32:40 +0200 |
commit | 0bdef57b1950c8e79617104db39e17285686fe3f (patch) | |
tree | ff6508a319223c78e76489df47dd423d4a914845 /docker/Dockerfile | |
parent | Makefile: add test target (diff) | |
download | cgitize-0bdef57b1950c8e79617104db39e17285686fe3f.tar.gz cgitize-0bdef57b1950c8e79617104db39e17285686fe3f.zip |
docker: add HEALTHCHECK
Diffstat (limited to '')
-rw-r--r-- | docker/Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 46a2215..8cd256d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -49,3 +49,5 @@ ENTRYPOINT ["/sbin/tini", "--", "/in_cron.sh"] WORKDIR /usr/src CMD ["/cgitize.sh"] + +HEALTHCHECK --interval=5m --retries=3 CMD ! test -f /fail |