mirror of https://github.com/Mai-with-u/MaiBot.git
build(docker): 重构 Dockerfile 并添加 docker-compose 配置
- 重构 Dockerfile,使用 python:3.13.2-slim-bookworm 作为基础镜像 - 添加 maim_message目录到镜像中,并使用清华大学镜像源安装依赖 - 新增 docker-compose.yml 文件,定义多服务的 Docker Compose 配置 - 配置包含 adapters、core、mongodb 和 napcat四个服务 - 设置端口映射、环境变量和数据卷pull/626/head
parent
6120aea0e6
commit
8fdd690542
|
|
@ -5,7 +5,7 @@ WORKDIR /MaiMBot
|
|||
|
||||
# 复制依赖列表
|
||||
COPY requirements.txt .
|
||||
# 同级目录下需要有 maim_message 文
|
||||
# 同级目录下需要有 maim_message
|
||||
COPY maim_message /maim_message
|
||||
|
||||
# 安装依赖
|
||||
|
|
|
|||
Loading…
Reference in New Issue