docs icon indicating copy to clipboard operation
docs copied to clipboard

Rust Docker image documentation needs to be updated

Open spencerbart opened this issue 3 years ago • 1 comments

The example code for the Rust Docker image documentation should be updated to something like this. The previous example is out of date.

FROM rust:1.64 AS builder
COPY . .
RUN cargo build --release

FROM debian:buster-slim
COPY --from=builder ./target/release/my-rust-app ./target/release/my-rust-app
CMD ["/target/release/my-rust-app"]

spencerbart avatar Oct 18 '22 07:10 spencerbart

cc @sfackler (rust image maintainer)

tianon avatar Oct 18 '22 18:10 tianon