diff --git a/Dockerfile b/Dockerfile index 6ecc397..8009033 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG ALPINE_VERSION=3.14 +ARG ALPINE_VERSION=3.16 FROM alpine:${ALPINE_VERSION} LABEL Maintainer="Matthias Hemmerich matthias+code@mailbro.de" LABEL Description="Forked from https://github.com/TrafeX/docker-php-nginx, Lightweight container with Nginx 1.20 & PHP 8.0 based on Alpine Linux." @@ -41,5 +41,5 @@ EXPOSE 80 # Let supervisord start nginx & php-fpm CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"] -# Configure a healthcheck to validate that everything is up&running +# Configure a healthcheck to validate that everything is up & running HEALTHCHECK --timeout=10s CMD curl --silent --fail http://127.0.0.1:80/fpm-ping \ No newline at end of file