From 196aab2ede0efeb32f0d3cda3a9b2b3431d4e6f8 Mon Sep 17 00:00:00 2001 From: Matthias Hemmerich Date: Fri, 23 Jun 2023 14:18:14 +0200 Subject: [PATCH] remove healthcheck --- Dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0b1a3e4..147e795 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,15 +5,15 @@ LABEL Description="Forked from https://github.com/TrafeX/docker-php-nginx, Light # Setup document root WORKDIR /var/www/html -# Install packages and remove default server definition +# Install packages RUN apk update \ && apk add --no-cache \ curl \ nginx \ php82 \ php82-fpm \ - supervisor - + supervisor \ + php --version # Configure nginx COPY config/nginx.conf /etc/nginx/nginx.conf @@ -38,6 +38,3 @@ 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 -HEALTHCHECK --timeout=10s CMD curl --silent --fail http://127.0.0.1:80/fpm-ping \ No newline at end of file