fix: Dockerfile — парсить deps из pyproject.toml (единый источник)

This commit is contained in:
Marker689
2026-05-10 07:26:24 +03:00
parent 6e6f45ce03
commit 0069331119

View File

@@ -8,7 +8,7 @@ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /usr/local/bin/
WORKDIR /app
COPY pyproject.toml ./
RUN uv pip install --system .
RUN grep -A20 'dependencies = \[' pyproject.toml | grep '"' | sed 's/[",]//g' | xargs uv pip install --system
RUN uv pip install --system guarddog