From 515893c821f9c43dd5292b5041a0b29f8ce25c27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=8A=B9=EC=A4=80?= <132419579+seung-jun2@users.noreply.github.com> Date: Mon, 1 Jul 2024 14:30:37 +0900 Subject: [PATCH 1/2] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 87f40c5..3f3cbda 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,5 +15,5 @@ HEALTHCHECK --interval=30s --timeout=10s --retries=3 \ CMD curl -f http://localhost:8081/actuator/health || exit 1 # 애플리케이션 실행 -CMD ["java", "-jar", "build/libs/healthyLife1.0.jar"] +CMD ["java", "-jar", "build/libs/healthyLife-0.0.1-SNAPSHOT.jar"] From 213b900dc8d6abd615320d951a8399d5c3ac4feb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=8A=B9=EC=A4=80?= <132419579+seung-jun2@users.noreply.github.com> Date: Mon, 1 Jul 2024 15:20:12 +0900 Subject: [PATCH 2/2] Update Dockerfile --- Dockerfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3f3cbda..9510f8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,9 +11,6 @@ WORKDIR /app RUN chmod +x ./gradlew RUN ./gradlew clean build --no-daemon --info > build.log 2>&1 || (cat build.log && exit 1) -HEALTHCHECK --interval=30s --timeout=10s --retries=3 \ - CMD curl -f http://localhost:8081/actuator/health || exit 1 - # 애플리케이션 실행 CMD ["java", "-jar", "build/libs/healthyLife-0.0.1-SNAPSHOT.jar"]