chatgpt-next-web docker部署

cooolr 于 2023-04-07 发布

项目地址: ChatGPT-Next-Web

  1. 下拉镜像
docker pull yidadaa/chatgpt-next-web:latest
  1. OpenAI后台 获取api_key
  2. 运行镜像
docker run -d \
           --name xiaotu-chatgpt-next-web \
           -p 127.0.0.1:2002:3000 \
           -e OPENAI_API_KEY="xxxxxxxxxxxxxxxxx"  \
           -e CODE="xxxxxx" \
           -e BASE_URL="api.openai.com" \
           -e PROTOCOL="https" \
yidadaa/chatgpt-next-web:latest