Update Dockerfile

This commit is contained in:
Andras Bacsai
2024-05-17 11:29:30 +02:00
committed by GitHub
parent 1473ebd277
commit 3a01fbf522

View File

@@ -3,7 +3,7 @@ ENV DATABASE_URL=$DATABASE_URL
RUN echo -e "\e[1;33mENVIRONMENT VARIABLES\e[0m"
RUN env
RUN echo "Hello, World!" > /usr/share/nginx/html/index.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
RUN echo -e "\e[1;33mENVIRONMENT VARIABLES\e[0m"