Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Soulter committed Jan 10, 2025
1 parent 20c5051 commit 47242e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deploy/astrbot/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ cd AstrBot

## 运行源码

> [!TIP]
> AstrBot 支持基于 Docker 的沙箱代码执行器。如果你需要使用沙箱代码执行器,请使用 `sudo` 执行下面的指令,以便 AstrBot 能够正常操作 Docker。
在 AstrBot 源码目录下,使用终端运行以下命令:

```bash
Expand All @@ -46,6 +43,9 @@ python3 -m pip install -r requirements.txt -i https://mirrors.tuna.tsinghua.edu.
然后运行 AstrBot
> [!TIP]
> AstrBot 支持基于 Docker 的沙箱代码执行器。如果你需要使用沙箱代码执行器,请使用 `sudo` 执行下面的指令,以便 AstrBot 能够正常操作 Docker。
```bash
python3 main.py
```
Expand Down

0 comments on commit 47242e5

Please sign in to comment.