From c2b3b53c12fcdb787c12db4209afb8b2ed69b30f Mon Sep 17 00:00:00 2001 From: RockChinQ <1010553892@qq.com> Date: Thu, 8 Feb 2024 13:40:25 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E7=9B=B8=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- docker-compose.yaml | 12 ++---------- start.py => main.py | 0 3 files changed, 3 insertions(+), 11 deletions(-) rename start.py => main.py (100%) diff --git a/Dockerfile b/Dockerfile index e64b3d7..dbfa142 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,4 +5,4 @@ COPY . . RUN python -m pip install -r requirements.txt -CMD [ "python", "start.py" ] \ No newline at end of file +CMD [ "python", "main.py" ] \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index f2dc688..1b608b1 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -4,15 +4,7 @@ services: qchatgpt: image: rockchin/qchatgpt:latest volumes: - - ./config.py:/QChatGPT/config.py - - ./banlist.py:/QChatGPT/banlist.py - - ./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 + - ./data:/app/data + - ./plugins:/app/plugins restart: always # 根据具体环境配置网络 \ No newline at end of file diff --git a/start.py b/main.py similarity index 100% rename from start.py rename to main.py