Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nhkhai authored Apr 28, 2024
1 parent 497525f commit 4f349a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# The base image.
FROM eclipse-temurin:17-jdk-alpine
FROM eclipse-temurin:21-jdk-alpine

# The work directory.
WORKDIR /
Expand All @@ -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"]
ENTRYPOINT ["java","-jar","/application.jar"]

0 comments on commit 4f349a7

Please sign in to comment.