Skip to content

Commit

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

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

0 comments on commit 97cf4af

Please sign in to comment.