Update Dockerfile

This commit is contained in:
Andras Bacsai
2024-03-14 21:32:06 +01:00
committed by GitHub
parent e1556abff0
commit d07de5a0fb

View File

@@ -1,4 +1,4 @@
FROM nginx:alpine
RUN echo "Hello, World!" > /usr/share/nginx/html/index.html
HEALTHCHECK --interval=5s --timeout=3s --start-period=5s --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