From 067b65252b29c28bc855f0827ea7a4d7a15ccb95 Mon Sep 17 00:00:00 2001 From: Cyrille Bollu Date: Mon, 1 Jul 2024 19:58:44 +0200 Subject: [PATCH] Update HEALTHCHECK in Dockerfile to not use DNS (#126) --- ebusd/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebusd/Dockerfile b/ebusd/Dockerfile index 9e04671..02680c6 100644 --- a/ebusd/Dockerfile +++ b/ebusd/Dockerfile @@ -18,4 +18,4 @@ CMD [ "/run.sh" ] # Health check HEALTHCHECK --interval=5m --timeout=3s --start-period=90s \ - CMD nc -z localhost 8888 || exit 1 + CMD nc -z 127.0.0.1 8888 || exit 1