From 94a021bab08ed77e0e758da152c470072613bb76 Mon Sep 17 00:00:00 2001 From: snowykami Date: Sat, 16 Nov 2024 02:17:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=AE=89=E8=A3=85=E6=96=87?= =?UTF-8?q?=E6=A1=A3=EF=BC=8C=E6=9B=BF=E6=8D=A2Docker=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E6=AD=A5=E9=AA=A4=E4=B8=BA=E6=8B=89=E5=8F=96=E6=9C=80=E6=96=B0?= =?UTF-8?q?=E5=A4=9C=E9=97=B4=E7=89=88=E9=95=9C=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en/deploy/install.md | 8 +++----- docs/zh/deploy/install.md | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/docs/en/deploy/install.md b/docs/en/deploy/install.md index 6b8a5681..0553352d 100644 --- a/docs/en/deploy/install.md +++ b/docs/en/deploy/install.md @@ -37,11 +37,9 @@ python main.py ## **Run with Docker** -1. Install [`Docker`](https://docs.docker.com/get-docker/) -2. Clone Repo `git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1` -3. Change directory `cd LiteyukiBot` -4. Build docker image `docker build -t liteyukibot .` -5. Run container `docker run -p 20216:20216 -v $(pwd):/liteyukibot -v $(pwd)/.cache:/root/.cache liteyukibot` +```bash +docker pull git.liteyuki.icu/bot/app:latest # Nightly build +``` > [!tip] > If you are using Windows, please use the absolute project directory `/path/to/LiteyukiBot` instead of `$(pwd)`
diff --git a/docs/zh/deploy/install.md b/docs/zh/deploy/install.md index 1c8f4f75..18587732 100644 --- a/docs/zh/deploy/install.md +++ b/docs/zh/deploy/install.md @@ -33,11 +33,9 @@ python main.py ## **使用Docker构建** -1. 安装 [`Docker`](https://docs.docker.com/get-docker/) -2. 克隆项目 `git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1` -3. 进入轻雪目录 `cd LiteyukiBot` -4. 构建镜像 `docker build -t liteyukibot .` -5. 启动容器 `docker run -p 20216:20216 -v $(pwd):/liteyukibot -v $(pwd)/.cache:/root/.cache liteyukibot` +```bash +docker pull git.liteyuki.icu/bot/app:latest # 每夜版镜像 +``` > [!tip] > Windows请使用项目绝对目录`/path/to/LiteyukiBot`代替`$(pwd)`