Skip to content

Commit

Permalink
Dockerfile: use bookworm as prod base
Browse files Browse the repository at this point in the history
  • Loading branch information
WestXu committed May 7, 2024
1 parent 0fe6f03 commit 81872a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ COPY Cargo.toml /app
WORKDIR /app
RUN cargo build --release

FROM kubeimages/distroless-cc
FROM debian:bookworm-slim
RUN apt-get update && apt install -y openssl
COPY --from=build-env /app/target/release/cyberpunk_display /
ENTRYPOINT ["./cyberpunk_display"]

0 comments on commit 81872a4

Please sign in to comment.