FROM rust:1.55 COPY Cargo.toml . RUN mkdir ./src && echo "fn main() {}" > ./src/main.rs && cargo fetch COPY src/ ./src/