Skip to content

Commit 9f815c1

Browse files
authored
Update JAR file name in Dockerfile
1 parent 83508d2 commit 9f815c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ RUN mvn clean package -DskipTests
88
# Stage 2: Run the application
99
FROM eclipse-temurin:21-jre
1010
WORKDIR /app
11-
COPY --from=build /app/target/simple-java-maven-app-1.0-SNAPSHOT.jar app.jar
11+
COPY --from=build /app/target/my-app-1.0-SNAPSHOT.jar app.jar
1212
ENTRYPOINT ["java", "-jar", "app.jar"]
13+

0 commit comments

Comments
 (0)