diff --git a/demo/Dockerfile b/demo/Dockerfile index 747aec2..4be1549 100644 --- a/demo/Dockerfile +++ b/demo/Dockerfile @@ -9,7 +9,7 @@ COPY src src RUN --mount=type=cache,target=/root/.m2 ./mvnw install -DskipTests ARG JAR_FILE=target/*.jar -COPY ${JAR_FILE} target/application.jar +RUN mv ${JAR_FILE} target/application.jar RUN java -Djarmode=layertools -jar target/application.jar extract --destination target/extracted FROM eclipse-temurin:17-jdk-alpine