From 29984adf89be64ac4da3a84fbbb9ab017c7b26e9 Mon Sep 17 00:00:00 2001 From: jiajiu123 <1771663559@qq.com> Date: Sun, 2 Mar 2025 00:48:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9f12476a..111466ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,11 +2,8 @@ FROM nonebot/nb-cli:latest WORKDIR / COPY . /MaiMBot/ WORKDIR /MaiMBot -RUN mkdir config -RUN mv env.example config/.env \ -&& mv src/plugins/chat/bot_config_toml config/bot_config.toml -RUN ln -s /MaiMBot/config/.env /MaiMBot/.env \ -&& ln -s /MaiMBot/config/bot_config.toml /MaiMBot/src/plugins/chat/bot_config.toml +RUN mv config/env.example config/.env \ +&& mv config/bot_config_toml config/bot_config.toml RUN pip install --upgrade -r requirements.txt VOLUME [ "/MaiMBot/config" ] EXPOSE 8080