Added healthcheck
This commit is contained in:
+4
-1
@@ -41,10 +41,13 @@ COPY etc/php /usr/local/etc/php/conf.d
|
||||
# Install dependencies
|
||||
RUN apk update && \
|
||||
apk upgrade && \
|
||||
apk add git && \
|
||||
apk add git fcgi && \
|
||||
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
# Enable php fpm status page
|
||||
RUN set -xe && echo "pm.status_path = /status" >> /usr/local/etc/php-fpm.d/zz-docker.conf
|
||||
|
||||
# Install and execute own entrypoint script. This scrpit should hold all instructions that are not
|
||||
# executed while the image is build (use RUN in this file therefore) but that are run when the
|
||||
# container starts up. One major advanatge is that mounted volumes are already available when this
|
||||
|
||||
Reference in New Issue
Block a user