diff --git a/Dockerfile b/Dockerfile index 92c11c0..373cf3b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ # C-DEBIAN-SLIM: Debian builder and runtime; no Alpine/musl dependencies. FROM rust:1-slim-bookworm AS builder WORKDIR /build +ENV CARGO_REGISTRIES_CRATES_IO_INDEX=sparse+https://rsproxy.cn/index/ COPY Cargo.toml Cargo.lock ./ COPY src ./src COPY web ./web