diff --git a/Dockerfile b/Dockerfile index e507454c..4855213a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,7 @@ ARG CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse FROM chef as planner COPY Cargo.toml Cargo.toml +COPY Cargo.lock Cargo.lock COPY rust-toolchain.toml rust-toolchain.toml COPY proto proto COPY benchmark benchmark @@ -28,6 +29,7 @@ COPY --from=planner /usr/src/recipe.json recipe.json RUN cargo chef cook --release --recipe-path recipe.json COPY Cargo.toml Cargo.toml +COPY Cargo.lock Cargo.lock COPY rust-toolchain.toml rust-toolchain.toml COPY proto proto COPY benchmark benchmark