revert sqlite refactor
This commit is contained in:
2026-05-10 16:46:20 +02:00
parent 1411f11e7d
commit 051a8690eb
4 changed files with 17 additions and 77 deletions
+5 -9
View File
@@ -1,15 +1,11 @@
FROM alpine:3.22.4 as base
FROM alpine:3.22.4
USER root
RUN apk upgrade --no-cache
RUN apk add --no-cache ffmpeg mutagen curl sqlite deno bash
RUN apk add --no-cache ffmpeg mutagen curl
RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /yt-dlp
RUN chmod a+rx /yt-dlp
FROM base as downloader
COPY download.sh /download.sh
COPY . .
RUN mkdir /download
RUN mkdir /music
RUN touch /music/archive.dat
RUN mkdir /db
RUN chmod +x /download.sh
CMD ["bash", "/download.sh"]
RUN chmod +x download.sh
CMD ["sh", "./download.sh"]