Connor Johnstone connor

shanty (31d54651e62415d0f47e6ab16f0c3c21b3d62e1d)

Published 2026-03-21 15:12:50 -04:00 by connor

Installation

docker pull git.rcjohnstone.com/connor/shanty:31d54651e62415d0f47e6ab16f0c3c21b3d62e1d
sha256:c62b9f180a0e2d27c8b78c16abd68fc793140cc7e38a33b2368e9fed515d2358

Image Layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1773619200'
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates ffmpeg python3 python3-pip python3-venv firefox-esr xvfb x11vnc novnc websockify sqlite3 && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c python3 -m venv /opt/venv && /opt/venv/bin/pip install --no-cache-dir ytmusicapi yt-dlp # buildkit
ENV PATH=/opt/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN /bin/sh -c /opt/venv/bin/pip install --no-cache-dir --upgrade yt-dlp # buildkit
WORKDIR /app
COPY /build/target/release/shanty . # buildkit
COPY /build/shanty-web/static ./static # buildkit
COPY /build/shanty-dl/scripts/ytmusic_search.py /usr/share/shanty/ # buildkit
COPY /build/shanty-dl/scripts/cookie_manager.py /usr/share/shanty/ # buildkit
RUN /bin/sh -c mkdir -p /config /data /music # buildkit
ENV SHANTY_CONFIG=/config/config.yaml
ENV SHANTY_DATABASE_URL=sqlite:///data/shanty.db?mode=rwc
ENV SHANTY_LIBRARY_PATH=/music
ENV SHANTY_DOWNLOAD_PATH=/data/downloads
EXPOSE [6080/tcp 8085/tcp]
VOLUME [/config /data /music]
CMD ["./shanty"]
Details
Container
2026-03-21 15:12:50 -04:00
0
OCI / Docker
linux/amd64
418 MiB
Versions (9) View all