mirror of
https://codeberg.org/angestoepselt/refund-form.git
synced 2025-05-24 14:46:16 +00:00
remove healthcheck
This commit is contained in:
parent
07de0df36f
commit
196aab2ede
1 changed files with 3 additions and 6 deletions
|
|
@ -5,15 +5,15 @@ LABEL Description="Forked from https://github.com/TrafeX/docker-php-nginx, Light
|
||||||
# Setup document root
|
# Setup document root
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
|
|
||||||
# Install packages and remove default server definition
|
# Install packages
|
||||||
RUN apk update \
|
RUN apk update \
|
||||||
&& apk add --no-cache \
|
&& apk add --no-cache \
|
||||||
curl \
|
curl \
|
||||||
nginx \
|
nginx \
|
||||||
php82 \
|
php82 \
|
||||||
php82-fpm \
|
php82-fpm \
|
||||||
supervisor
|
supervisor \
|
||||||
|
php --version
|
||||||
# Configure nginx
|
# Configure nginx
|
||||||
COPY config/nginx.conf /etc/nginx/nginx.conf
|
COPY config/nginx.conf /etc/nginx/nginx.conf
|
||||||
|
|
||||||
|
|
@ -38,6 +38,3 @@ EXPOSE 80
|
||||||
|
|
||||||
# Let supervisord start nginx & php-fpm
|
# Let supervisord start nginx & php-fpm
|
||||||
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
|
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
|
|
||||||
Loading…
Add table
Reference in a new issue