Skip to content

Commit

Permalink
slim down docker image even more
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddenton committed Dec 5, 2023
1 parent e58347c commit 45a781d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions graalvm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ WORKDIR /home/app/http4k-example
RUN native-image --static --no-fallback -cp build/libs/example.jar com.example.HelloWorldKt

FROM frolvlad/alpine-glibc
RUN apk update && apk add libstdc++
EXPOSE 8080
COPY --from=graalvm /home/app/http4k-example/com.example.helloworldkt /app/http4k-example
RUN chmod 777 /app/http4k-example
ENTRYPOINT ["/app/http4k-example"]

0 comments on commit 45a781d

Please sign in to comment.