chore: migrate to uv

This commit is contained in:
aserper
2025-12-14 00:08:10 -05:00
parent 6311ca3f39
commit c7850ba05f
10 changed files with 754 additions and 83 deletions

View File

@@ -10,9 +10,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libmagic1 \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements first for better layer caching
COPY requirements.txt /app/
RUN pip install --no-cache-dir -r requirements.txt
# Install uv
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
# Copy dependencies
COPY pyproject.toml uv.lock /app/
# Install dependencies
RUN uv sync --frozen --no-dev
# Copy the application code
COPY . /app