HH-778: use domestic Go module mirror in Docker build (#12)

This commit is contained in:
2026-08-28 14:35:55 +08:00
parent fa36eeb09b
commit 620b9e051f
+1
View File
@@ -6,6 +6,7 @@ COPY web/ ./
RUN npm run build
FROM golang:1.26-alpine@sha256:28d89ee9cc0ff9fec75c82ca201e6bf7fdf9a679d4b7b24dfa04f2bb766bb468 AS go
ENV GOPROXY=https://goproxy.cn|direct
WORKDIR /src
COPY go.mod go.sum ./
COPY cmd/ ./cmd/