chore: 修改启动相关

This commit is contained in:
RockChinQ 2024-02-08 13:40:25 +08:00
parent d95e18c202
commit c2b3b53c12
3 changed files with 3 additions and 11 deletions

View File

@ -5,4 +5,4 @@ COPY . .
RUN python -m pip install -r requirements.txt RUN python -m pip install -r requirements.txt
CMD [ "python", "start.py" ] CMD [ "python", "main.py" ]

View File

@ -4,15 +4,7 @@ services:
qchatgpt: qchatgpt:
image: rockchin/qchatgpt:latest image: rockchin/qchatgpt:latest
volumes: volumes:
- ./config.py:/QChatGPT/config.py - ./data:/app/data
- ./banlist.py:/QChatGPT/banlist.py - ./plugins:/app/plugins
- ./cmdpriv.json:/QChatGPT/cmdpriv.json
- ./sensitive.json:/QChatGPT/sensitive.json
- ./tips.py:/QChatGPT/tips.py
# 目录映射
- ./plugins:/QChatGPT/plugins
- ./scenario:/QChatGPT/scenario
- ./temp:/QChatGPT/temp
- ./logs:/QChatGPT/logs
restart: always restart: always
# 根据具体环境配置网络 # 根据具体环境配置网络

View File