HEALTHCHECK
This commit is contained in:
1 parent
7e74dfff25
commit
f0d40b680b
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