From fa05de7273ceed0615dc5e9e536f8849321130ca Mon Sep 17 00:00:00 2001 From: Phlogi Date: Fri, 22 Aug 2025 00:32:10 +0200 Subject: [PATCH] use uv pip, it's faster, remove unneeded apt pkgs --- Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index f6e38b3..739f4a8 100755 --- a/Dockerfile +++ b/Dockerfile @@ -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 . .