diff --git a/Dockerfile b/Dockerfile index 0a7f157..5f85e24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,6 @@ FROM php:apache COPY . /var/www/html + +HEALTHCHECK --interval=10s \ + CMD curl --fail "http://localhost" || exit 1 \ No newline at end of file