1 2 3 4 5 6 7 8
FROM rust:latest WORKDIR /usr/src/myapp COPY . . RUN cargo install --path . CMD ["./target/release/hello_world"]