📝 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:
2026-09-24 17:05:01 +08:00
parent 7717c9fa14
commit b03431b511
4 changed files with 14 additions and 4 deletions
+3 -1
View File
@@ -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
```
---