From e3aee8d76e8b862fbf5425c0e151639eb60ec41d Mon Sep 17 00:00:00 2001 From: Fedechkin Aleksei Date: Fri, 4 Oct 2024 22:39:20 +0200 Subject: [PATCH] fix health check --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 33e13c5..b5aa6e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,6 @@ WORKDIR /znatokiBot COPY --from=gradle /home/gradle/build/libs/letMeGoogleThatForYou-1.0-SNAPSHOT-standalone.jar . HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \ - CMD curl --fail http://localhost:8080/health || exit 1 + CMD curl --fail http://localhost:80/health || exit 1 CMD ["java", "-jar", "letMeGoogleThatForYou-1.0-SNAPSHOT-standalone.jar" ] \ No newline at end of file