HH-778: use domestic Go module mirror in Docker build (#12)
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user