fix: skip test image in production deploy

This commit is contained in:
yml2213
2026-08-30 22:17:09 +08:00
parent c6b5fc63ad
commit bc02018719
2 changed files with 5 additions and 2 deletions
+2
View File
@@ -2,6 +2,8 @@ services:
douyu-login:
build:
context: .
# 生产服务只构建 runtime 阶段;test 阶段仅供本地回归测试。
target: runtime
args:
# 服务器默认走阿里云镜像;本地测试设为 false。
USE_CHINA_MIRRORS: ${USE_CHINA_MIRRORS:-true}