build: use rsproxy for container dependencies
This commit is contained in:
parent
dceecaf2f4
commit
fc43c6bf93
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue