Skip to content

Commit e5b022d

Browse files
committed
fix: 更新Dockerfile中的Rust镜像版本
修复了Dockerfile中的Rust镜像版本,从`rust:latest`更新为`rust:1.85-bookworm`,以确保构建环境使用指定版本的Rust,避免由于最新镜像版本变化引起的潜在问题。
1 parent 77a0b6f commit e5b022d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ COPY web/ ./
88
RUN pnpm build
99

1010
# Stage 2: Build backend
11-
FROM rust:latest AS backend
11+
FROM rust:1.85-bookworm AS backend
1212
WORKDIR /build
1313
# Copy manifests first for dependency caching
1414
COPY Cargo.toml Cargo.lock ./

0 commit comments

Comments
 (0)