Skip to content

Commit

Permalink
chore: add healthcheck to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kimburgess committed Jul 21, 2021
2 parents 532ab56 + 7ab0b30 commit 2a93852
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,5 @@ RUN chown appuser:appuser -R /app/tmp
USER appuser:appuser

EXPOSE 8080
HEALTHCHECK CMD wget --no-verbose -q --spider http://0.0.0.0:8080/auth/authority?health=true
ENTRYPOINT rm -rf /app/tmp/pids/server.pid && ./bin/rails s -b 0.0.0.0 -p 8080

0 comments on commit 2a93852

Please sign in to comment.