15 lines
320 B
Docker
15 lines
320 B
Docker
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"]
|