From 9126e401510468fe94936e5f7e9d0a9e0010ec04 Mon Sep 17 00:00:00 2001 From: Barry d'Hoine Date: Sun, 24 Nov 2024 00:05:00 +0100 Subject: [PATCH] Add healthcheck command --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1491064..3d5270a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,4 +30,6 @@ COPY aem-sdk-artifacts/aem-sdk-*.zip aem/home/lib/ RUN aem instance --instance-${RUNMODE} launch && aem instance down +HEALTHCHECK CMD /usr/local/bin/aem instance --instance-${RUNMODE} await + CMD ["/usr/local/bin/aem-start"]