2023-02-10 23:02:01 +00:00
|
|
|
FROM alpine:latest
|
|
|
|
|
WORKDIR /z
|
2023-02-18 23:04:55 +00:00
|
|
|
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"
|
2024-08-02 22:11:23 +00:00
|
|
|
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/
|
2023-05-11 06:56:21 +00:00
|
|
|
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 \
|
2025-01-22 21:18:42 +00:00
|
|
|
py3-pip py3-cffi \
|
2023-02-10 23:02:01 +00:00
|
|
|
ffmpeg \
|
2025-06-29 06:07:59 +01:00
|
|
|
py3-magic \
|
2023-02-10 23:02:01 +00:00
|
|
|
vips-jxl vips-heif vips-poppler vips-magick \
|
|
|
|
|
py3-numpy fftw libsndfile \
|
2023-02-19 14:19:35 +00:00
|
|
|
vamp-sdk vamp-sdk-libs \
|
2023-05-11 06:56:21 +00:00
|
|
|
&& 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 \
|
2023-02-19 14:19:35 +00:00
|
|
|
vamp-sdk-dev \
|
2023-09-30 23:32:51 +00:00
|
|
|
&& rm -f /usr/lib/python3*/EXTERNALLY-MANAGED \
|
2023-05-11 06:56:21 +00:00
|
|
|
&& 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 \
|
2024-08-02 22:11:23 +00:00
|
|
|
&& ln -s /root/vamp /root/.local /
|
|
|
|
|
|
|
|
|
|
COPY i/dist/copyparty-sfx.py innvikler.sh ./
|
2025-03-23 20:15:21 +00:00
|
|
|
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
|
2024-08-02 22:11:23 +00:00
|
|
|
ENTRYPOINT ["python3", "-m", "copyparty", "--no-crt", "-c", "/z/initcfg"]
|