Skip to content

Commit

Permalink
Add healthcheck command
Browse files Browse the repository at this point in the history
  • Loading branch information
bdhoine committed Nov 23, 2024
1 parent 43bb200 commit 9126e40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 9126e40

Please sign in to comment.