From a074f712965988ce0bf36b4b5e0d37c2310d955e Mon Sep 17 00:00:00 2001 From: Adriano Rutz Date: Mon, 25 Nov 2024 11:56:29 +0100 Subject: [PATCH] switch from `poetry` to `uv` --- Dockerfile.local | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile.local b/Dockerfile.local index 2bb7920..485e0ef 100644 --- a/Dockerfile.local +++ b/Dockerfile.local @@ -1,9 +1,8 @@ FROM docker.io/library/python:3.12-slim RUN apt update && apt install -y libxrender1 libxtst6 libxi6 -RUN pip install poetry -COPY poetry.lock pyproject.toml ./ -RUN poetry config virtualenvs.create false \ - && poetry install --no-interaction --no-ansi +RUN pip install uv +COPY uv.lock pyproject.toml ./ +RUN uv sync RUN mkdir /app /app/data RUN adduser nonroot RUN chown -R nonroot /app/data