diff --git a/Dockerfile b/Dockerfile index 6fc6d9d..1b0c815 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,11 +2,6 @@ FROM rust:1.85 as builder WORKDIR /app -# this looks like being stupid, but docker cache is FIRE once you do this -COPY Cargo.toml Cargo.lock ./ -RUN mkdir src && echo "fn main() {}" > src/main.rs && cargo fetch - -# there's the beauty COPY . . RUN cargo build --release