From 9f1ca26df1986f22778f4e64067c721ee0332ea3 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Wed, 22 Oct 2025 12:44:49 +0200 Subject: [PATCH] Update Dockerfile --- dockerfile/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dockerfile/Dockerfile b/dockerfile/Dockerfile index 438076a..5017ea9 100644 --- a/dockerfile/Dockerfile +++ b/dockerfile/Dockerfile @@ -6,8 +6,9 @@ RUN env RUN echo "Hello, World!" > /usr/share/nginx/html/index.html RUN echo "Hello, World about!" > /usr/share/nginx/html/about.html RUN env > /usr/share/nginx/html/env.html -#HEALTHCHECK --interval=5s --timeout=3s --start-period=30s --retries=3 CMD wget -qO- http://localhost:80 || exit 1 + FROM base AS builder RUN echo -e "\e[1;33mENVIRONMENT VARIABLES\e[0m" RUN env +HEALTHCHECK --interval=5s --timeout=3s --start-period=30s --retries=3 CMD wget -qO- http://localhost:80 || exit 1