chore: import private baseline from gitea state
This commit is contained in:
21
deploy/server-maibot/Dockerfile.offline
Normal file
21
deploy/server-maibot/Dockerfile.offline
Normal file
@@ -0,0 +1,21 @@
|
||||
FROM python:3.13-slim
|
||||
|
||||
WORKDIR /MaiMBot
|
||||
|
||||
ENV MAIBOT_LEGACY_0X_UPGRADE_CONFIRMED=1
|
||||
ENV PATH="/MaiMBot/.venv/bin:${PATH}"
|
||||
|
||||
COPY pyproject.toml uv.lock ./
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf /var/lib/apt/lists/*
|
||||
RUN pip install --no-cache-dir uv
|
||||
|
||||
RUN uv sync --frozen --no-dev --no-install-project
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN chmod +x deploy/server-maibot/docker-entrypoint.offline.sh
|
||||
|
||||
EXPOSE 8001
|
||||
|
||||
ENTRYPOINT ["./deploy/server-maibot/docker-entrypoint.offline.sh"]
|
||||
Reference in New Issue
Block a user