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