From 5448d8057c5b4878aceda68aafcaccacf53ea287 Mon Sep 17 00:00:00 2001 From: Mike Date: Sat, 27 May 2023 10:00:50 +0100 Subject: [PATCH] Fixes #375 - New HEALTHCHECK CMD failing to parse URL --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 94823e5..0cf2dc1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -73,5 +73,5 @@ RUN chmod +x wg-ui COPY init.sh . EXPOSE 5000/tcp -HEALTHCHECK CMD ["wget","--output-document=-","--quiet","--tries=1","http://127.0.0.1:$(echo ${BIND_ADDRESS:-5000} | cut -d ':' -f2)/_health"] +HEALTHCHECK CMD ["ash", "-c", "wget --output-document=- --quiet --tries=1 http://127.0.0.1:$(echo ${BIND_ADDRESS:-5000} | cut -d ':' -f2)/_health"] ENTRYPOINT ["./init.sh"]