Skip to content

Commit

Permalink
healthcheck functionality added
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamBien committed Dec 4, 2016
1 parent e86b966 commit e4669d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tomee-ping/Dockerfile
@@ -1,3 +1,4 @@
FROM airhacks/tomee
MAINTAINER Adam Bien, adam-bien.com
COPY ping.war ${DEPLOYMENT_DIR}
COPY ping.war ${DEPLOYMENT_DIR}
HEALTHCHECK CMD curl --fail http://localhost:8080/ping/resources/pings/echo/+ || exit 1

0 comments on commit e4669d5

Please sign in to comment.