feat: 为helm chart添加WebUI的辅助容器,用于反向同步配置到ConfigMap

This commit is contained in:
zhangxinhui02
2025-11-21 01:38:50 +08:00
parent 14514ba837
commit 4f6e159000
13 changed files with 232 additions and 94 deletions

View File

@@ -0,0 +1,10 @@
# 此镜像用于辅助麦麦的WebUI更新配置文件随core容器持续运行
FROM python:3.13-slim
WORKDIR /MaiMBot
COPY . /MaiMBot
RUN pip3 install --no-cache-dir -r requirements.txt
ENTRYPOINT ["python3", "core-webui-cm-sync.py"]