Skip to content

Commit

Permalink
switch from poetry to uv
Browse files Browse the repository at this point in the history
  • Loading branch information
Adafede committed Nov 25, 2024
1 parent d36ce30 commit a074f71
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile.local
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit a074f71

Please sign in to comment.