不再需要重命名config

This commit is contained in:
NepPure
2025-03-02 20:34:40 +08:00
committed by GitHub
parent 5e9401c27a
commit f04ae091e2

View File

@@ -2,8 +2,7 @@ FROM nonebot/nb-cli:latest
WORKDIR /
COPY . /MaiMBot/
WORKDIR /MaiMBot
RUN mv config/bot_config_toml config/bot_config.toml
RUN pip install --upgrade -r requirements.txt
VOLUME [ "/MaiMBot/config" ]
EXPOSE 8080
ENTRYPOINT [ "nb","run" ]
ENTRYPOINT [ "nb","run" ]