"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "7004fab56a4de1a86d20cdb7e8983135d95b5ec9"
Commit f1b779fc authored by huangwb's avatar huangwb
Browse files

add Cargo.lock in dockerfile

parent 4126e0b0
...@@ -9,6 +9,7 @@ ARG CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse ...@@ -9,6 +9,7 @@ ARG CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
FROM chef as planner FROM chef as planner
COPY Cargo.toml Cargo.toml COPY Cargo.toml Cargo.toml
COPY Cargo.lock Cargo.lock
COPY rust-toolchain.toml rust-toolchain.toml COPY rust-toolchain.toml rust-toolchain.toml
COPY proto proto COPY proto proto
COPY benchmark benchmark COPY benchmark benchmark
...@@ -30,6 +31,7 @@ COPY --from=planner /usr/src/recipe.json recipe.json ...@@ -30,6 +31,7 @@ COPY --from=planner /usr/src/recipe.json recipe.json
RUN cargo chef cook --release --recipe-path recipe.json RUN cargo chef cook --release --recipe-path recipe.json
COPY Cargo.toml Cargo.toml COPY Cargo.toml Cargo.toml
COPY Cargo.lock Cargo.lock
COPY rust-toolchain.toml rust-toolchain.toml COPY rust-toolchain.toml rust-toolchain.toml
COPY proto proto COPY proto proto
COPY benchmark benchmark COPY benchmark benchmark
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment