Skip to content
This repository was archived by the owner on Jul 5, 2026. It is now read-only.

Commit 87f0bc7

Browse files
committed
chore: Switch to pdm
1 parent 8358cdd commit 87f0bc7

5 files changed

Lines changed: 1523 additions & 1483 deletions

File tree

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ build/
55
dist/
66
wheels/
77
*.egg-info
8+
.pdm-python
89

910
# Virtual environments
1011
.venv

‎Dockerfile‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
88
libgl1 \
99
&& rm -rf /var/lib/apt/lists/*
1010

11-
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
11+
RUN pip install -U pdm
12+
ENV PDM_CHECK_UPDATE=false
1213

13-
COPY pyproject.toml uv.lock ./
14+
COPY pyproject.toml pdm.lock LICENSE /app/
1415

15-
RUN uv sync --frozen --no-dev --no-install-project \
16-
--python python3.11 \
17-
--compile-bytecode
16+
RUN pdm install --frozen-lockfile --prod --no-editable --no-self
1817

1918
FROM python:3.11-slim AS model-download
2019

0 commit comments

Comments
 (0)