diff --git a/dockerfile/Dockerfile b/dockerfile/Dockerfile index 39868b5..cb14bc5 100644 --- a/dockerfile/Dockerfile +++ b/dockerfile/Dockerfile @@ -1,2 +1,3 @@ FROM nginx:alpine -RUN echo "Hello, World!" > /usr/share/nginx/html/index.html \ No newline at end of file +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"