Files
copyparty/scripts/docker/Dockerfile.dj

41 lines
1.6 KiB
Docker
Raw Normal View History

2023-02-10 23:02:01 +00:00
FROM alpine:latest
WORKDIR /z
LABEL org.opencontainers.image.url="https://github.com/9001/copyparty" \
org.opencontainers.image.source="https://github.com/9001/copyparty/tree/hovudstraum/scripts/docker" \
org.opencontainers.image.licenses="MIT" \
org.opencontainers.image.title="copyparty-dj" \
org.opencontainers.image.description="copyparty with all optional dependencies, including musical key / bpm detection"
ENV XDG_CONFIG_HOME=/cfg
2023-02-10 23:02:01 +00:00
COPY i/bin/mtag/install-deps.sh ./
COPY i/bin/mtag/audio-bpm.py /mtag/
COPY i/bin/mtag/audio-key.py /mtag/
RUN apk add -U !pyc \
2025-03-23 20:45:03 +00:00
tzdata wget mimalloc2 mimalloc2-insecure \
2025-07-26 10:50:38 +00:00
py3-jinja2 py3-argon2-cffi py3-pyzmq py3-openssl py3-pillow \
py3-pip py3-cffi \
2023-02-10 23:02:01 +00:00
ffmpeg \
py3-magic \
2023-02-10 23:02:01 +00:00
vips-jxl vips-heif vips-poppler vips-magick \
py3-numpy fftw libsndfile \
vamp-sdk vamp-sdk-libs \
&& apk add -t .bd \
2023-02-10 23:02:01 +00:00
bash wget gcc g++ make cmake patchelf \
python3-dev ffmpeg-dev fftw-dev libsndfile-dev \
2025-05-18 23:49:41 +00:00
py3-wheel py3-numpy-dev libffi-dev \
vamp-sdk-dev \
2023-09-30 23:32:51 +00:00
&& rm -f /usr/lib/python3*/EXTERNALLY-MANAGED \
&& python3 -m pip install pyvips \
2023-02-10 23:02:01 +00:00
&& bash install-deps.sh \
&& apk del py3-pip .bd \
&& chmod 777 /root \
&& ln -s /root/vamp /root/.local /
COPY i/dist/copyparty-sfx.py innvikler.sh ./
ADD base ./base
RUN ash innvikler.sh dj
2023-02-10 23:02:01 +00:00
WORKDIR /w
2023-02-11 21:10:28 +00:00
EXPOSE 3923
ENTRYPOINT ["python3", "-m", "copyparty", "--no-crt", "-c", "/z/initcfg"]