Skip to content

Commit

Permalink
#21: spring-graalvm-native now produces native-image executables dire…
Browse files Browse the repository at this point in the history
…ctly inside `target` - and not in `/target/native-image`.
  • Loading branch information
jonashackt committed Feb 22, 2021
1 parent 369685f commit 24e6b2b
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 @@ -29,7 +29,7 @@ FROM oraclelinux:7-slim
MAINTAINER Jonas Hecht

# Add Spring Boot Native app spring-boot-graal to Container
COPY --from=0 "/build/target/native-image/spring-boot-graal" spring-boot-graal
COPY --from=0 "/build/target/spring-boot-graal" spring-boot-graal

# Fire up our Spring Boot Native app by default
CMD [ "sh", "-c", "./spring-boot-graal -Dserver.port=$PORT" ]
Expand Down

0 comments on commit 24e6b2b

Please sign in to comment.