Merge pull request #15 from jiajiu123/main

兼容高版本 Python
This commit is contained in:
SengokuCola authored and GitHub committed 2025-03-01 16:49:32 +08:00
commit 0ed3b2bf9c
3 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ 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 pip install -r requirements.txt
RUN pip install --upgrade -r requirements.txt
VOLUME [ "/MaiMBot/config" ]
EXPOSE 8080
ENTRYPOINT [ "nb","run" ]
+1 -1
View File
@@ -32,7 +32,7 @@ services:
environment:
- tz=Asia/Shanghai
expose:
- "8080:8080"
- "8080"
restart: always
depends_on:
- mongodb
BIN
View File
Binary file not shown.