ci: release mai-bot without external image pulls

This commit is contained in:
LoveLosita
2026-05-11 09:40:54 +08:00
parent 02490c5fa1
commit 7d2a3599eb
3 changed files with 59 additions and 39 deletions

View File

@@ -0,0 +1,14 @@
ARG MAIBOT_BASE_IMAGE=maibot-offline:latest
FROM ${MAIBOT_BASE_IMAGE}
WORKDIR /MaiMBot
RUN find /MaiMBot -mindepth 1 -maxdepth 1 ! -name '.venv' -exec rm -rf {} +
COPY . .
RUN chmod +x deploy/server-maibot/docker-entrypoint.offline.sh
EXPOSE 8001
ENTRYPOINT ["./deploy/server-maibot/docker-entrypoint.offline.sh"]