优化镜像构建实时日志展示
Storage Persistence Guard / storage-persistence-audit (pull_request) Has been cancelled
Storage Persistence Guard / storage-persistence-audit (push) Has been cancelled

This commit is contained in:
Cheng Zhou
2026-06-30 11:26:40 +08:00
parent 18daea7f2c
commit c728f62b3b
2 changed files with 101 additions and 11 deletions
+2 -2
View File
@@ -339,9 +339,9 @@ run_build_and_start() {
else
step "构建镜像并启动服务"
if [[ "$TARGET_ENV" == "dev" ]]; then
ctms_run_quiet "构建并刷新开发容器(首次较慢)" -- compose_cmd up -d --build --force-recreate backend nginx frontend-dev
CTMS_LIVE_OUTPUT=1 ctms_run_quiet "构建并刷新开发容器(首次较慢)" -- compose_cmd up -d --build --force-recreate backend nginx frontend-dev
else
ctms_run_quiet "构建镜像并启动容器(首次较慢)" -- compose_cmd up -d --build
CTMS_LIVE_OUTPUT=1 ctms_run_quiet "构建镜像并启动容器(首次较慢)" -- compose_cmd up -d --build
fi
fi
}