1 2 3 4 5 6 7 8 9 10 11
FROM rust:latest WORKDIR /mech COPY . . RUN pwd RUN rustup override set nightly RUN rustup default nightly-2023-05-19 RUN cargo build --bin mech --release ENV PATH="/mech/target/release:${PATH}"