1 2 3 4 5 6 7 8 9 10 11
From rust:1.70 RUN rustup install nightly RUN rustup component add rustfmt WORKDIR /app COPY . . RUN cargo build CMD cargo run -- VOLUME /app