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

Refactor Dockerfile to use alpine base image and streamline dependencies; update workflows to handle artifact downloads and extraction

This commit is contained in:
2025-10-16 21:37:38 +03:00
parent 440344b8fb
commit 1cf4544b82
3 changed files with 25 additions and 14 deletions
+4 -11
View File
@@ -1,17 +1,10 @@
FROM python:3.12-slim
FROM python:3.12-alpine
WORKDIR /app
# 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/
COPY ./bin/ffmpeg /app/bin
COPY ./bin/yt-dlp /app/bin
COPY ./bin/aria2c /app/bin
CMD ["python", "yt-playlist-main.py"]