Docker 支持

This commit is contained in:
soon 2023-04-21 08:51:13 +08:00 committed by imClumsyPanda
parent a5f71f81a5
commit a9ede040d7
1 changed files with 6 additions and 0 deletions

View File

@ -138,6 +138,12 @@ Web UI 可以实现如下功能:
- [x] 利用 fastapi 实现 API 部署方式
- [ ] 实现调用 API 的 web ui DEMO
## Docker
docker build -t chatglm:v1.0 .
docker run -d --restart=always --name chatglm -p 7860:7860 -v /www/wwwroot/code/langchain-ChatGLM:/chatGLM chatglm
## 项目交流群
![二维码](img/qr_code_4.jpg)