📝 docs(deploy): 明确裸 up 不重建已有镜像 + 修正 build.sh 三步描述
- DEPLOYMENT §1.2 / LINUX_SETUP §11 / README / OPERATIONS 补充: docker compose up -d 对本地已有同名镜像不会自动重建,更新代码后 需 up -d --build 或先 build(部署机实测复用旧镜像后澄清) - build.sh 描述由四步修正为 base → backend → frontend 三步(celery 复用 backend 镜像,随 Dockerfile.celery 移除的文档收尾) Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -427,7 +427,9 @@ curl http://127.0.0.1:8000/health
|
||||
镜像构建:
|
||||
|
||||
```bash
|
||||
bash deploy/build.sh # base → backend → celery → frontend
|
||||
bash deploy/build.sh # base → backend → frontend(celery 复用 backend 镜像)
|
||||
# 或让 compose 构建:docker compose up -d --build
|
||||
# 注意:docker compose up -d 对本地已有同名镜像不会自动重建,更新代码后需 --build
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user