Skip to content

Commit

Permalink
(fix): spring boot 3 main-class adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelDittmar authored and falko committed Apr 26, 2024
1 parent be1dd45 commit a326ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN mvn package -Dspring-boot.repackage.layers.enabled=true -Dmaven.test.skip=tr
RUN java -Djarmode=layertools -jar target/*.jar extract

FROM azul/zulu-openjdk-alpine:17-jre-headless
CMD java $JAVA_OPTIONS org.springframework.boot.loader.JarLauncher
CMD java $JAVA_OPTIONS org.springframework.boot.loader.launch.JarLauncher
COPY --from=builder /usr/src/app/dependencies/ ./
COPY --from=builder /usr/src/app/snapshot-dependencies/ ./
COPY --from=builder /usr/src/app/spring-boot-loader/ ./
Expand Down

0 comments on commit a326ae1

Please # to comment.