Skip to content

Commit

Permalink
add healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
goenning committed Feb 23, 2019
1 parent 751129d commit 113330b
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 @@ -45,4 +45,6 @@ COPY --from=builder /app/node_modules /app/node_modules
COPY --from=builder /app/dist /app/dist
COPY --from=builder /app/package.json /app/package.json

HEALTHCHECK CMD curl --fail http://localhost:3000/-/health || exit 1

CMD ["npm", "start"]

0 comments on commit 113330b

Please sign in to comment.