mirror of
https://git.fightbot.fun/hxuanyu/BingPaper.git
synced 2026-02-15 14:39:31 +08:00
优化Docker配置:支持设置GOPROXY和NPM_REGISTRY构建参数
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
services:
|
||||
bingpaper:
|
||||
build: .
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
- GOPROXY=${GOPROXY:-https://proxy.golang.org,direct}
|
||||
- NPM_REGISTRY=${NPM_REGISTRY:-https://registry.npmjs.org/}
|
||||
container_name: bingpaper
|
||||
restart: always
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user