build: update GOPROXY to proxy.golang.org in Dockerfile and docker-compose build arguments.

This commit is contained in:
2026-02-03 08:15:41 +08:00
parent fcbdd8de39
commit f8c3cd9a5b
2 changed files with 3 additions and 1 deletions

View File

@@ -9,7 +9,7 @@
ARG NODE_IMAGE=node:20-alpine ARG NODE_IMAGE=node:20-alpine
ARG GOLANG_IMAGE=golang:1.23-alpine ARG GOLANG_IMAGE=golang:1.23-alpine
ARG ALPINE_IMAGE=alpine:3.20 ARG ALPINE_IMAGE=alpine:3.20
ARG GOPROXY=https://goproxy.cn,direct ARG GOPROXY=https://proxy.golang.org,direct
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Stage 1: Frontend Builder # Stage 1: Frontend Builder

View File

@@ -15,6 +15,8 @@ services:
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
args:
- GOPROXY=https://proxy.golang.org,direct
image: codex-pool:latest image: codex-pool:latest
container_name: codex-pool container_name: codex-pool
restart: unless-stopped restart: unless-stopped