aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-14 16:30:47 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-14 16:32:40 +0200
commit0bdef57b1950c8e79617104db39e17285686fe3f (patch)
treeff6508a319223c78e76489df47dd423d4a914845 /docker/Dockerfile
parentMakefile: add test target (diff)
downloadcgitize-0bdef57b1950c8e79617104db39e17285686fe3f.tar.gz
cgitize-0bdef57b1950c8e79617104db39e17285686fe3f.zip
docker: add HEALTHCHECK
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile2
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