fix: 锁定基础镜像版本,解决 Docker 镜像拉取超时问题

This commit is contained in:
fish
2026-03-28 18:37:25 +08:00
parent 31160ece4a
commit 5814e6e9c5
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
RUN protoc --go_out=. --go-grpc_out=. user.proto
RUN go build -o user-svc main.go
FROM alpine:latest
FROM alpine:3.23
WORKDIR /app