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