diff --git a/Dockerfile b/Dockerfile index 69fa8cf..b702e62 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ WORKDIR /app # Leverage docker layer caching for dependencies -COPY Cargo.toml Cargo.lock ./ +COPY Cargo.toml ./ RUN mkdir -p src && echo 'fn main() { println!("cargo:rerun-if-changed=build.rs"); }' > src/main.rs RUN cargo build --release || true RUN rm -rf src