fix(deploy): 一键部署 - 避免 GHCR 匿名拉取失败 (#26) (#32)

Co-authored-by: linxi <linxi@enjoysoftware.cn>
This commit is contained in:
naidalao
2026-07-23 14:04:54 +08:00
committed by GitHub
parent b906eb9ac4
commit f26f9983bc
4 changed files with 30 additions and 19 deletions

14
docker-compose.build.yml Normal file
View File

@@ -0,0 +1,14 @@
services:
backend:
image: open-ai-canvas-backend:server
build:
context: .
dockerfile: backend/Dockerfile
args:
GOPROXY: ${GOPROXY:-https://proxy.golang.org,direct}
web:
image: open-ai-canvas-web:server
build:
context: .
dockerfile: Dockerfile