diff --git a/docs/en/deploy/update.md b/docs/en/deploy/update.md index af047dd7e..982e4e2ef 100644 --- a/docs/en/deploy/update.md +++ b/docs/en/deploy/update.md @@ -2,7 +2,13 @@ ## Using Docker (or one-click deployment based on Docker) -Please execute in the `docker/docker-compose.yaml` directory: +Please execute in the directory you cloned LangBot: + +```bash +git pull +``` + +Please execute in the `docker/` directory: ```bash docker compose up --force-recreate --pull always -d @@ -11,7 +17,7 @@ docker compose up --force-recreate --pull always -d This command will pull the latest LangBot image and rebuild the container. :::info -4.3.0 version changed the content and location of the `docker-compose.yaml` file, please [redploy according to the documentation](/en/deploy/langbot/docker). +4.3.0 version changed the content and location of the `docker-compose.yaml` file, if you updated from a previous version, please [redploy according to the documentation](/en/deploy/langbot/docker). ::: ## Manual Deployment diff --git a/docs/zh/deploy/update.md b/docs/zh/deploy/update.md index 7f40abaf3..96b9daba2 100644 --- a/docs/zh/deploy/update.md +++ b/docs/zh/deploy/update.md @@ -2,7 +2,13 @@ ## 使用 Docker(或基于 Docker 的一键部署) -请在 `docker/docker-compose.yaml` 目录下执行: +请在之前 Clone 的 LangBot 目录下执行: + +```bash +git pull +``` + +并在 `docker/` 目录下执行: ```bash docker compose up --force-recreate --pull always -d @@ -11,7 +17,7 @@ docker compose up --force-recreate --pull always -d 此命令将拉取最新的 LangBot 镜像并重建容器。 :::info -4.3.0 版本更改了 `docker/docker-compose.yaml` 文件的内容和位置,请[根据文档重新部署](/zh/deploy/langbot/docker)。 +4.3.0 版本更改了 `docker/docker-compose.yaml` 文件的内容和位置,若您由之前版本更新而来,请[根据文档重新部署](/zh/deploy/langbot/docker)。 ::: ## 手动部署