1
0
Fork 0

chore: build with uv

This commit is contained in:
Arthur K. 2026-02-20 19:29:50 +03:00
parent e752a9003a
commit 217e176975
Signed by: wzray
GPG key ID: B97F30FDC4636357
5 changed files with 372 additions and 7 deletions

View file

@ -10,9 +10,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt
RUN python -m playwright install --with-deps chromium
COPY pyproject.toml uv.lock /app/
RUN pip install --no-cache-dir uv
RUN uv sync --frozen --no-dev
RUN /app/.venv/bin/python -m playwright install --with-deps chromium
COPY *.py /app/