From 4f349a7b399b56b50f552dda56b337f26b1f4ae6 Mon Sep 17 00:00:00 2001 From: Ng Heng Khai Date: Sun, 28 Apr 2024 17:06:44 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 885b411..4ea0117 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # The base image. -FROM eclipse-temurin:17-jdk-alpine +FROM eclipse-temurin:21-jdk-alpine # The work directory. WORKDIR / @@ -17,4 +17,4 @@ COPY target/${JAR_FILE} application.jar # Set the default command to run the Java application. #ENTRYPOINT ["java", "-Xmx2048M", "-jar", "/application.jar"] -ENTRYPOINT ["java","-jar","/application.jar"] \ No newline at end of file +ENTRYPOINT ["java","-jar","/application.jar"]