1
0
mirror of https://github.com/darkzoul5/YoutubePlaylistSync.git synced 2026-07-03 12:34:00 +03:00

Refactor Dockerfile to install dependencies with no-install-recommends and update ffmpeg checks in ConfigLoader for improved audio mode handling

This commit is contained in:
2025-10-15 19:15:22 +03:00
parent fb32de243f
commit 75d4d971dd
2 changed files with 30 additions and 8 deletions
+13 -1
View File
@@ -1,5 +1,17 @@
FROM python:3.12-slim
WORKDIR /app
RUN apt-get update && apt-get install -y aria2 ffmpeg yt-dlp
# Install runtime dependencies: aria2, ffmpeg, yt-dlp
# Use --no-install-recommends to keep image small and clean up apt lists
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
aria2 \
ffmpeg \
yt-dlp \
&& rm -rf /var/lib/apt/lists/*
COPY yt-playlist-main.py /app/
CMD ["python", "yt-playlist-main.py"]