Update Dockerfile

This commit is contained in:
Andras Bacsai
2025-10-22 10:32:43 +02:00
committed by GitHub
parent 2b6cf9f7bd
commit 6642f3739e

View File

@@ -6,7 +6,7 @@ RUN env
RUN echo "Hello, World!" > /usr/share/nginx/html/index.html RUN echo "Hello, World!" > /usr/share/nginx/html/index.html
RUN echo "Hello, World about!" > /usr/share/nginx/html/about.html RUN echo "Hello, World about!" > /usr/share/nginx/html/about.html
RUN env > /usr/share/nginx/html/env.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 #HEALTHCHECK --interval=5s --timeout=3s --start-period=30s --retries=3 CMD wget -qO- http://localhost:80 || exit 1
FROM base AS builder FROM base AS builder
RUN echo -e "\e[1;33mENVIRONMENT VARIABLES\e[0m" RUN echo -e "\e[1;33mENVIRONMENT VARIABLES\e[0m"