fix: skip test image in production deploy
This commit is contained in:
@@ -2,6 +2,8 @@ services:
|
||||
douyu-login:
|
||||
build:
|
||||
context: .
|
||||
# 生产服务只构建 runtime 阶段;test 阶段仅供本地回归测试。
|
||||
target: runtime
|
||||
args:
|
||||
# 服务器默认走阿里云镜像;本地测试设为 false。
|
||||
USE_CHINA_MIRRORS: ${USE_CHINA_MIRRORS:-true}
|
||||
|
||||
Reference in New Issue
Block a user