Less cache misses on cargo build.

This commit is contained in:
Nicolas Patry 2024-06-06 10:33:01 +02:00 committed by yuanwu
parent 2c1ff79d38
commit 346f77f8ba

View File

@ -23,6 +23,9 @@ COPY --from=planner /usr/src/recipe.json recipe.json
COPY Cargo.lock Cargo.lock
RUN cargo chef cook --release --recipe-path recipe.json
ARG GIT_SHA
ARG DOCKER_LABEL
COPY Cargo.toml Cargo.toml
COPY rust-toolchain.toml rust-toolchain.toml
COPY proto proto