mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 11:54:52 +00:00
add CARGO_REGISTRIES_CRATES_IO_PROTOCOL
This commit is contained in:
parent
b027f5f129
commit
c66648d920
@ -2,6 +2,8 @@
|
||||
FROM lukemathwalker/cargo-chef:latest-rust-1.69 AS chef
|
||||
WORKDIR /usr/src
|
||||
|
||||
ARG CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
|
||||
|
||||
FROM chef as planner
|
||||
COPY Cargo.toml Cargo.toml
|
||||
COPY rust-toolchain.toml rust-toolchain.toml
|
||||
|
Loading…
Reference in New Issue
Block a user