Skip to content

Commit 04b0607

Browse files
committed
docs: improve local debugging instructions for latest image builds
1 parent fa1f5f4 commit 04b0607

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

doc/docs/en/deployment/docker-build.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,10 @@ Notes:
154154
- ⚠️ `--load` can only be used with single architecture builds
155155
- 📝 Use `docker images` to verify the images are loaded locally
156156
- 📊 Use `--progress=plain` to see detailed build and push progress
157-
- 📈 Use `--build-arg MIRROR=...` to set up a pip mirror to accelerate your build-up progress
157+
- 📈 Use `--build-arg MIRROR=...` to set up a pip mirror to accelerate your build-up progress
158+
159+
## 🚀 Deployment Recommendations
160+
161+
After building is complete, you can use the docker/deploy.sh script for deployment, or directly start the services using docker-compose.
162+
163+
> When starting a test of locally built images, you need to change APP_VERSION="$(get_app_version)" to APP_VERSION="latest" in docker/deploy.sh, because the deployment will default to using the image corresponding to the current version.

doc/docs/zh/deployment/docker-build.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,6 @@ docker rm nexent-docs
140140

141141
## 🚀 部署建议
142142

143-
构建完成后,可以使用 `docker/deploy.sh` 脚本进行部署,或者直接使用 `docker-compose` 启动服务。
143+
构建完成后,可以使用 `docker/deploy.sh` 脚本进行部署,或者直接使用 `docker-compose` 启动服务。
144+
145+
> 启动测试本地构建的镜像时,需要修改下`docker/deploy.sh`中的`APP_VERSION="$(get_app_version)"` -> `APP_VERSION="latest"`,因为部署时默认会使用当前版本对应的镜像。

0 commit comments

Comments
 (0)