replace pip with uv

This commit is contained in:
2026-02-19 18:31:17 +01:00
parent 683c73421f
commit 5b48167c66
4 changed files with 21 additions and 6 deletions

View File

@@ -1,8 +1,8 @@
FROM python:3.14-alpine
ENV PYTHONUNBUFFERED=1
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /usr/local/bin/
WORKDIR /code/
COPY requirements.txt .
RUN pip install --upgrade pip && \
pip install --no-cache-dir --requirement requirements.txt
COPY pyproject.toml .
RUN uv venv && uv pip install -r pyproject.toml
COPY . .
ENTRYPOINT ["./entrypoint.sh"]