Update Dockerfile

This commit is contained in:
Andras Bacsai
2024-04-02 20:43:19 +02:00
committed by GitHub
parent 210a65b2b9
commit 30860e35e8

View File

@@ -1,4 +1,5 @@
FROM nginx:alpine
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