v2.1 添加docker部署

This commit is contained in:
Evan 2022-12-14 13:53:03 +09:00
parent 35289e007e
commit e5af29b592

View File

@ -47,7 +47,7 @@ go run main.go
同时启动微信和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" telegram="你的telegram token" xiaomoinfo/wechatgpt:latest
``` ```
@ -55,7 +55,7 @@ docker run -d --name="wechatgpt" -e apiKey="你的chatgpt apiKey" telegram="你
如果只想运行微信智能机器人的话运行下面这段代码,微信登陆的地址请查看运行日志 如果只想运行微信智能机器人的话运行下面这段代码,微信登陆的地址请查看运行日志
``` ```
docker run -d --name wechatgpt -e apiKey="你的chatgpt apiKey" wechatgpt:latest docker run -d --name wechatgpt -e apiKey="你的chatgpt apiKey" xiaomoinfo/wechatgpt:latest
``` ```