Skip to content

Commit 2d37ea0

Browse files
NikolaBorisovyessenzhar
authored andcommitted
Cargo.lock file should be there
Otherwise it just runs with some new stuff
1 parent 57e57e6 commit 2d37ea0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ ARG CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
66

77
FROM chef as planner
88
COPY Cargo.toml Cargo.toml
9+
COPY Cargo.lock Cargo.lock
910
COPY rust-toolchain.toml rust-toolchain.toml
1011
COPY proto proto
1112
COPY benchmark benchmark
@@ -28,6 +29,7 @@ COPY --from=planner /usr/src/recipe.json recipe.json
2829
RUN cargo chef cook --release --recipe-path recipe.json
2930

3031
COPY Cargo.toml Cargo.toml
32+
COPY Cargo.lock Cargo.lock
3133
COPY rust-toolchain.toml rust-toolchain.toml
3234
COPY proto proto
3335
COPY benchmark benchmark

0 commit comments

Comments
 (0)