We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cd66f1d + 654472b commit 7017843Copy full SHA for 7017843
1 file changed
Dockerfile
@@ -10,7 +10,6 @@ RUN --mount=type=cache,target=/root/.m2 mvn -B -DskipTests package
10
11
# Stage 2: runtime image
12
FROM amazoncorretto:17-alpine3.21
13
-WORKDIR /app
14
COPY --from=build /workspace/target/*.jar app.jar
15
EXPOSE 8080
16
ENTRYPOINT ["java", "-jar", "/app.jar"]
0 commit comments