1 Star 0 Fork 104

zheng19891127 / gpt4free

forked from Gitee 极速下载 / gpt4free 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker.md 1.00 KB
一键复制 编辑 原始数据 按行查看 历史

G4F - Docker Setup

Easily set up and run the G4F project using Docker without the hassle of manual dependency installation.

  1. Prerequisites:

  2. Clone the Repository:

git clone https://github.com/xtekky/gpt4free.git
  1. Navigate to the Project Directory:
cd gpt4free
  1. Build the Docker Image:
docker pull selenium/node-chrome
docker-compose build
  1. Start the Service:
docker-compose up

Your server will now be accessible at http://localhost:1337. Interact with the API or run tests as usual.

To stop the Docker containers, simply run:

docker-compose down

[!Note] Changes made to local files reflect in the Docker container due to volume mapping in docker-compose.yml. However, if you add or remove dependencies, rebuild the Docker image using docker-compose build.

Return to Home

Python
1
https://gitee.com/zheng19891127/gpt4free.git
git@gitee.com:zheng19891127/gpt4free.git
zheng19891127
gpt4free
gpt4free
main

搜索帮助