mirror of https://github.com/Mai-with-u/MaiBot.git
兼容高版本 Python
parent
d9327d47fc
commit
167e2b8f5c
|
|
@ -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" ]
|
||||
|
|
@ -32,7 +32,7 @@ services:
|
|||
environment:
|
||||
- tz=Asia/Shanghai
|
||||
expose:
|
||||
- "8080:8080"
|
||||
- "8080"
|
||||
restart: always
|
||||
depends_on:
|
||||
- mongodb
|
||||
|
|
|
|||
BIN
requirements.txt
BIN
requirements.txt
Binary file not shown.
Loading…
Reference in New Issue