Merge pull request #296 from Phlogi/use-uv

Use uv in dockerfile
This commit is contained in:
Spotizerr
2025-08-21 19:03:15 -05:00
committed by GitHub

View File

@@ -19,16 +19,15 @@ WORKDIR /app
# Install system dependencies # Install system dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \ ffmpeg gosu\
gosu \
git \
ffmpeg \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Install Python dependencies # Install Python dependencies
COPY requirements.txt . 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 application code (excluding UI source and TS source)
COPY . . COPY . .