Update Dockerfile

This commit is contained in:
Andras Bacsai
2025-12-05 11:50:02 +01:00
committed by GitHub
parent ccba679b6f
commit 03ed6c0825

View File

@@ -3,7 +3,7 @@ ENV DATABASE_URL=$DATABASE_URL
ARG TEST
RUN echo -e "\e[1;33mENVIRONMENT VARIABLES\e[0m"
RUN env
RUN echo "Hello, World!" > /usr/share/nginx/html/index.html
RUN echo "Hello, World 2!" > /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=1s --retries=3 CMD wget -qO- http://localhost:80 || exit 1