修复docker内环境变量

This commit is contained in:
Dawn ARC
2026-05-05 14:50:45 +08:00
committed by GitHub
parent 810c4c45ac
commit 2abc38abe6

View File

@@ -6,6 +6,7 @@ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
WORKDIR /MaiMBot
ENV MAIBOT_LEGACY_0X_UPGRADE_CONFIRMED=1
ENV PATH="/MaiMBot/.venv/bin:${PATH}"
# Copy dependency metadata
COPY pyproject.toml uv.lock ./