From fc43c6bf933f16c1bacedc3b0a82317d4104af7e Mon Sep 17 00:00:00 2001 From: anonsaber Date: Fri, 25 Sep 2026 09:21:43 +0800 Subject: [PATCH] build: use rsproxy for container dependencies --- Dockerfile | 1 + 1 file changed, 1 insertion(+) 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