remove healthcheck

This commit is contained in:
Matthias Hemmerich 2023-06-23 14:18:14 +02:00
parent 07de0df36f
commit 196aab2ede

View file

@ -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