Skip to content

Commit 654472b

Browse files
committed
move build step to Dockerfile
1 parent 86d3bde commit 654472b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ RUN --mount=type=cache,target=/root/.m2 mvn -B -DskipTests package
1010

1111
# Stage 2: runtime image
1212
FROM amazoncorretto:17-alpine3.21
13-
WORKDIR /app
1413
COPY --from=build /workspace/target/*.jar app.jar
1514
EXPOSE 8080
1615
ENTRYPOINT ["java", "-jar", "/app.jar"]

0 commit comments

Comments
 (0)