From rust:1.70 RUN rustup install nightly RUN rustup component add rustfmt WORKDIR /app COPY . . RUN cargo build CMD cargo run -- VOLUME /app