@@ -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 . .
|
||||||
|
|||||||
Reference in New Issue
Block a user