mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-11-06 08:05:12 +02:00
refactor: move docker files to /docker folder;
remove old buid workflow;
This commit is contained in:
1 parent
658def3d58
commit
6d8649ac2d
5 files changed
+7
-305
No files matched your search
@@ -0,0 +1,23 @@
|
||||
FROM python:3.13-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy application code (package) and bootstrap
|
||||
COPY yt-playlist-main.py /app/
|
||||
COPY src/ /app/
|
||||
COPY config/ /app/config/
|
||||
|
||||
# Copy helper binaries from the build context (which includes extracted artifacts)
|
||||
COPY bin/ffmpeg /app/bin/ffmpeg
|
||||
COPY bin/yt-dlp /app/bin/yt-dlp
|
||||
COPY bin/aria2c /app/bin/aria2c
|
||||
|
||||
# Copy entrypoint that maps environment variables to CLI flags
|
||||
COPY docker-entrypoint.sh /app/docker-entrypoint.sh
|
||||
RUN chmod +x /app/docker-entrypoint.sh && chmod +x /app/bin/* || true
|
||||
|
||||
# Put the bundled bin directory first in PATH
|
||||
ENV PATH="/app/bin:${PATH}"
|
||||
|
||||
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
||||
CMD [""]
|
||||
Reference in new issue
Block a user