feat: 更新 Dockerfile,添加 git 安装步骤以支持插件安装

This commit is contained in:
infinitycat
2025-11-19 19:54:15 +08:00
parent a921c7c074
commit 979686d707
2 changed files with 6 additions and 1 deletions

View File

@@ -25,6 +25,8 @@ WORKDIR /MaiMBot
# 复制依赖列表
COPY requirements.txt .
RUN apt-get update && apt-get install -y git
# 从编译阶段复制 LPMM 编译结果
COPY --from=lpmm-builder /usr/local/lib/python3.13/site-packages/ /usr/local/lib/python3.13/site-packages/