1 2 3 4
FROM rust:latest COPY . . RUN cargo build --release --example simple ENTRYPOINT ["sh", "-c", "./target/release/examples/simple"]