fix(docker): multi-theme packaging with PS1 orchestration and full bundle export

Replace all-themes bat logic with PowerShell to survive branch checkout; add api-admin and full-themes service modes; fix bat findstr path check and cmd exit codes; document six-in-one tar and update gitignore for player/full-themes artifacts.
This commit is contained in:
2026-06-24 14:18:31 +08:00
parent 25dd0cf514
commit 9c5e8d6f5c
8 changed files with 425 additions and 298 deletions

View File

@@ -276,7 +276,18 @@ pnpm dev:player # http://localhost:5173 目视确认仍是本主题皮
## 六、构建与上传镜像
### 6.1 四个 player 镜像Windows CMD
### 6.1 四个 player 镜像
**一键打包(推荐,仅 `main` 分支提供脚本):**
```powershell
cd C:\path\to\thebet365
.\docs\docker\build-and-export-all-themes.ps1 -SkipApiAdmin
```
`docs\docker\build-and-export-all-themes.bat --skip-api-admin`(内部转调 PowerShell避免切分支后 bat 从磁盘消失)。
**手动逐步Windows CMD**
```bat
cd C:\path\to\thebet365