Update Dockerfile.cpu

This commit is contained in:
McCloudS
2025-02-14 08:26:01 -07:00
committed by GitHub
parent 3a1c26294c
commit 856e467c0d

View File

@@ -18,12 +18,8 @@ FROM python:3.11-slim-bullseye AS runtime
WORKDIR /subgen
# Install only required runtime dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
# Copy only necessary files from builder stage
COPY --from=builder /usr/bin/ffmpeg /usr/bin/ffmpeg
COPY --from=builder /install /usr/local
# Copy source code