1 2 3 4 5 6 7 8
FROM rust:1.83.0 as builder WORKDIR /usr/src/manta COPY . . RUN cargo install --path . FROM rust:1.64.0-alpine COPY --from=builder /usr/local/cargo/bin/manta /usr/local/bin/manta CMD ["manta"]