Skip to content

Commit

Permalink
fix health check
Browse files Browse the repository at this point in the history
  • Loading branch information
centralhardware committed Oct 4, 2024
1 parent e3aee8d commit 56940b8
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 @@ -10,6 +10,7 @@ WORKDIR /znatokiBot

COPY --from=gradle /home/gradle/build/libs/letMeGoogleThatForYou-1.0-SNAPSHOT-standalone.jar .

EXPOSE 80
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \
CMD curl --fail http://localhost:80/health || exit 1

Expand Down

0 comments on commit 56940b8

Please sign in to comment.