Skip to content

Commit

Permalink
Multiplatform GraalVM Native Docker Image Try #6
Browse files Browse the repository at this point in the history
  • Loading branch information
RawSanj committed Dec 23, 2023
1 parent 35388a7 commit 78980cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/docker/Dockerfile.native
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM ghcr.io/graalvm/native-image-community:17 as build
WORKDIR app
COPY ../../.. .
RUN ./mvnw -Pnative clean package -DskipNativeImage=false --file pom.xml
RUN ls -la
RUN ls -la target

FROM ghcr.io/distroless/glibc-dynamic:latest
COPY --from=build app/target/spring-redis-websocket spring-redis-websocket
Expand Down

0 comments on commit 78980cf

Please sign in to comment.