Skip to content

Commit 25f39fa

Browse files
committed
simplify dockerfile
1 parent 210b364 commit 25f39fa

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test-build.Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,4 @@ FROM rust:bookworm AS builder
44
# Install requirements for bindgen: https://rust-lang.github.io/rust-bindgen/requirements.html
55
RUN apt update && apt install -y llvm-dev libclang-dev clang
66
COPY . .
7-
RUN cargo build --release --example simple
8-
9-
FROM debian:bookworm-slim
10-
COPY --from=builder /target/release/examples/simple /usr/local/bin/simple
11-
ENTRYPOINT ["/usr/local/bin/simple"]
7+
RUN cargo build

0 commit comments

Comments
 (0)