feat: 为helm chart添加WebUI的辅助容器,用于反向同步配置到ConfigMap
This commit is contained in:
10
helm-chart/core-webui-cm-sync/Dockerfile
Normal file
10
helm-chart/core-webui-cm-sync/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user