HEALTHCHECK
This commit is contained in:
1 parent
f66552f41c
commit
efb91eb134
1 file changed
+3
@@ -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
|
||||||
Reference in new issue
Block a user