kv-music (sha256:637ef29e51757ad46fd0f3aaa4ae34d0a05153bc9c9d3d0d028875f57ee8e1c4)
Published 2026-09-07 20:50:49 +07:00 by vndangkhoa
Installation
docker pull git.khoavo.myds.me/vndangkhoa/kv-music@sha256:637ef29e51757ad46fd0f3aaa4ae34d0a05153bc9c9d3d0d028875f57ee8e1c4sha256:637ef29e51757ad46fd0f3aaa4ae34d0a05153bc9c9d3d0d028875f57ee8e1c4Image layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1787529600' |
| WORKDIR /app |
| RUN /bin/sh -c apt-get update && apt-get install -y python3 python3-pip python3-venv ffmpeg ca-certificates curl gnupg libssl3 zlib1g && curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && apt-get install -y nodejs && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c python3 -m venv /opt/venv # buildkit |
| ENV PATH=/opt/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN /bin/sh -c pip install --no-cache-dir -U "yt-dlp[default]" yt-dlp-ejs "curl_cffi==0.15.0" ytmusicapi # buildkit |
| COPY /app/backend-rust-bin /app/server # buildkit |
| COPY /app/backend/scripts /app/scripts # buildkit |
| COPY /app/frontend/dist /app/static # buildkit |
| RUN /bin/sh -c mkdir -p /tmp/kv-music-cache /tmp/kv-music-downloads /app/data && chmod 777 /tmp/kv-music-cache /tmp/kv-music-downloads /app/data # buildkit |
| RUN /bin/sh -c chmod +x /app/server # buildkit |
| ENV PORT=8080 |
| ENV RUST_LOG=info |
| ENV PYTHONUNBUFFERED=1 |
| EXPOSE [8080/tcp] |
| USER 0 |
| CMD ["sh" "-c" "echo 'Starting KV Music...' && (curl -fsSL https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/latest/download/yt-dlp -o /opt/venv/bin/yt-dlp && chmod +x /opt/venv/bin/yt-dlp || true) && yt-dlp --version && echo 'yt-dlp ready.' && /app/server 2>&1"] |
Details
2026-09-07 20:50:49 +07:00
Versions (48)
View all
Container
1
OCI / Docker
linux/amd64
471 MiB
sha-d2ba1a8
2026-09-14
latest
2026-09-14
sha-0a48413
2026-09-07
sha-526d85b
2026-09-07
sha-b4e5704
2026-09-07