HEALTHCHECK

This commit is contained in:
Julien Cabillot 2017-10-31 13:08:31 +00:00
parent 7e74dfff25
commit f0d40b680b

View File

@ -1,3 +1,6 @@
FROM php:apache FROM php:apache
COPY . /var/www/html COPY . /var/www/html
HEALTHCHECK --interval=10s \
CMD curl --fail "http://localhost" || exit 1