mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-07-03 12:34:00 +03:00
Refactor Dockerfile: streamline installation of dependencies: install via apt
This commit is contained in:
+1
-4
@@ -1,8 +1,5 @@
|
|||||||
FROM python:3.12-slim
|
FROM python:3.12-slim
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
RUN apt-get update && apt-get install -y aria2 ffmpeg yt-dlp
|
||||||
COPY yt-playlist-main.py /app/
|
COPY yt-playlist-main.py /app/
|
||||||
COPY bin/aria2c.exe /app/bin/
|
|
||||||
COPY bin/ffmpeg.exe /app/bin/
|
|
||||||
COPY bin/yt-dlp.exe /app/bin/
|
|
||||||
ENV PATH="/app/bin:$PATH"
|
|
||||||
CMD ["python", "yt-playlist-main.py"]
|
CMD ["python", "yt-playlist-main.py"]
|
||||||
|
|||||||
Reference in New Issue
Block a user