Healthcheck addition

This commit is contained in:
Alexandre
2023-03-09 14:29:11 +01:00
committed by GitHub
parent 02421fe9e9
commit 2d1954edd8

View File

@@ -125,3 +125,9 @@ LABEL \
org.opencontainers.image.created=${BUILD_DATE} \
org.opencontainers.image.revision=${BUILD_REF} \
org.opencontainers.image.version=${BUILD_VERSION}
#################
# 6 Healthcheck #
#################
HEALTHCHECK CMD curl --fail http://127.0.0.1:9000 || exit 1