replace pip with uv
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user