refactor: move docker files to /docker folder;

remove old buid workflow;
This commit is contained in:
2026-05-15 11:34:43 +03:00
parent 658def3d58
commit 6d8649ac2d
5 changed files with 7 additions and 305 deletions
+23
View File
@@ -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 [""]