chore: build with uv
This commit is contained in:
parent
e752a9003a
commit
217e176975
5 changed files with 372 additions and 7 deletions
|
|
@ -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/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue