Skip to content

🎬 火宝短剧 - 基于AI的一站式短剧生成平台 《一句话生成完整短剧,从剧本到成片全自动化》 Huobao Drama - An AI-Powered End-to-End Short Drama Generator "One Sentence to Complete Drama: Fully Automated from Script to Final Video"

TypeScript

docs: 补充镜像源配置说明,强调必须使用 docker compose build

ShellMonsterb3a1253404bf
diff --git a/README.md b/README.md
index 87a0bdc..d8d745a 100644
--- a/README.md
+++ b/README.md
@@ -265,12 +265,17 @@ GO_PROXY=https://goproxy.cn,direct
ALPINE_MIRROR=mirrors.aliyun.com
```
-**步骤3:重新构建**
+**步骤3:使用 docker compose 构建(必须)**
```bash
-docker-compose build
+docker compose build
```
+> **重要说明**:
+> - ⚠️ 必须使用 `docker compose build` 才能自动加载 `.env` 文件中的镜像源配置
+> - ❌ 如果使用 `docker build` 命令,需要手动传递 `--build-arg` 参数
+> - ✅ 推荐始终使用 `docker compose build` 进行构建
+
**效果对比**:
| 操作 | 不配置镜像源 | 配置镜像源后 |