build: pass module proxy to docker builder

This commit is contained in:
dela
2026-05-24 21:40:23 +08:00
parent 542eeefdbd
commit 6f4e7f04cc
6 changed files with 34 additions and 2 deletions

View File

@@ -44,6 +44,14 @@ services:
build:
context: .
dockerfile: Dockerfile
args:
GOPROXY: ${GOPROXY:-https://goproxy.cn,direct}
HTTP_PROXY: ${HTTP_PROXY:-}
HTTPS_PROXY: ${HTTPS_PROXY:-}
NO_PROXY: ${NO_PROXY:-}
http_proxy: ${HTTP_PROXY:-}
https_proxy: ${HTTPS_PROXY:-}
no_proxy: ${NO_PROXY:-}
container_name: crypto-hermes-market-gateway
depends_on:
postgres: