use uv pip, it's faster, remove unneeded apt pkgs

This commit is contained in:
Phlogi
2025-08-22 00:32:10 +02:00
parent 0456c25830
commit fa05de7273

View File

@@ -19,16 +19,15 @@ WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
gosu \
git \
ffmpeg \
ffmpeg gosu\
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Install Python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/
RUN uv pip install --system -r requirements.txt
# Copy application code (excluding UI source and TS source)
COPY . .