v2.1 添加docker部署

This commit is contained in:
Evan 2022-12-14 13:45:01 +09:00
parent 87b6d2f061
commit 8fba13d911

View File

@ -44,16 +44,15 @@ go run main.go
## `Docker` 方式运行`wechatgpt`
同时启动微信和telegram
同时启动微信和telegram,微信登陆的地址请查看运行日志
```
docker run -d --name="wechatgpt" -e apiKey="你的chatgpt apiKey" telegram="你的telegram token" wechatgpt:latest
```
微信登陆的地址请查看运行日志
如果只想运行微信智能机器人的话运行下面这段代码
如果只想运行微信智能机器人的话运行下面这段代码,微信登陆的地址请查看运行日志
```
docker run -d --name wechatgpt -e apiKey="你的chatgpt apiKey" wechatgpt:latest