fix: Dockerfile — парсить deps из pyproject.toml (единый источник)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user