dockerfile 添加代理
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 53s

This commit is contained in:
Song367 2025-06-18 13:40:53 +08:00
parent a632bc7332
commit d35dfba895

View File

@ -6,6 +6,9 @@ WORKDIR /usr/src/app
# 安装必要的构建工具
RUN apk add --no-cache gcc musl-dev
# 设置 GOPROXY 环境变量
ENV GOPROXY=https://goproxy.cn,direct
# 复制 Go 项目文件
COPY . .