自建web端chatgpt
一、基础环境
自备docker环境以及docker-compose
二、部署
-
克隆该项目
git clone https://github.com/Chanzhaoyu/chatgpt-web.git
-
构建 Docker 镜像
cd chatgpt-web docker build -t chatgpt-web .
-
创建 Docker Compose.yaml 文件,并写入以下内容
version: '3' services: app: image: chenzhaoyu94/chatgpt-web:main ports: - 3002:3002 environment: OPENAI_API_KEY: <你的API>
-
启动应用程序
docker-compose up -d --build
-
在您的 Web 浏览器中访问 http://localhost:3002,即可开始使用该应用程序了
自建web端chatgpthttps://xucg.info/2023/02/20/2735.html
THE END
二维码
共有 0 条评论