-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
贴一个测试过的docker-compose.yml一键启动的脚本:
ch-gptproxy:
restart: always
container_name: ch-gptproxy
hostname: ch-gptproxy
image: python:3.11.0
volumes:
- ./volumes/ch-gptproxy/app.py:/home/app.py:rw
- ./volumes/ch-gptproxy/requirements.txt:/home/requirements.txt:rw
command:
- /bin/sh
- -c
- "pip3 install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple -r /home/requirements.txt && python /home/app.py"
hunkjun
Metadata
Metadata
Assignees
Labels
No labels