Browse Source

HEALTHCHECK

master
Julien Cabillot 3 years ago
parent
commit
efb91eb134
1 changed files with 3 additions and 0 deletions
  1. 3
      Dockerfile

3
Dockerfile

@ -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
Loading…
Cancel
Save