diff --git a/Dockerfile b/Dockerfile index 79d4991..0508ff5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,4 +24,6 @@ RUN echo 'E404:index.html' >> /etc/httpd.conf EXPOSE 80 +HEALTHCHECK CMD wget --no-verbose --tries=1 --spider http://localhost/index.html || exit 1 + CMD ["busybox", "httpd", "-v", "-f"]