From 76d47967877fc1a7231f7987ab024077f0212755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20J=C3=B8rgensen?= Date: Fri, 5 Jul 2024 09:30:39 +0200 Subject: [PATCH] Add healthcheck --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index c8b01d1..f62014e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,8 @@ RUN apk add --no-cache \ ARG workdir=/var/www WORKDIR "${workdir}" +HEALTHCHECK --interval=10s --start-period=90s CMD netstat -ltn | grep -c ":443" + ENV EXPIRATION_DAYS 30 ##