From 160d3891929354f07d29a256daeae088eaf6b728 Mon Sep 17 00:00:00 2001 From: paspo Date: Tue, 6 May 2025 09:30:00 +0200 Subject: [PATCH] healthcheck fix --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5a41782..4ccf234 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,11 +2,11 @@ FROM alpine:latest RUN \ apk --update upgrade && \ - apk add tini pdns pdns-backend-sqlite3 + apk add tini curl pdns pdns-backend-sqlite3 COPY rootfs / HEALTHCHECK --interval=30s --start-period=5s --timeout=10s \ - CMD /usr/bin/host -T -p 1053 asperti.com 127.0.0.1 + CMD curl http://127.0.0.1:8081/metrics ENTRYPOINT ["/sbin/tini", "--", "/bin/sh", "/app/entrypoint.sh"]