From 5a27a52a6ef62a35bfbcc73855d029ef08e62823 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 9 Mar 2023 15:54:38 +0100 Subject: [PATCH] Update Dockerfile --- portainer/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/portainer/Dockerfile b/portainer/Dockerfile index f1df18bd3..3e592e77d 100644 --- a/portainer/Dockerfile +++ b/portainer/Dockerfile @@ -130,4 +130,5 @@ LABEL \ # 6 Healthcheck # ################# -HEALTHCHECK CMD wget --no-verbose --tries=1 --spider http://localhost:9000 || exit 1 +ARG WEBUI_PORT="9000" +HEALTHCHECK CMD wget --no-verbose --tries=1 --spider http://localhost:"$WEBUI_PORT" || exit 1