Cargo.lock file should be there

Otherwise it just runs with some new stuff
This commit is contained in:
Nikola Borisov 2023-09-07 17:38:51 -07:00 committed by Yessen Kanapin
parent 57e57e6fee
commit 2d37ea0dfd

View File

@ -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