mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
24 lines
931 B
Docker
24 lines
931 B
Docker
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-iv" \
|
|
org.opencontainers.image.description="copyparty with Pillow, FFmpeg, libvips (image/audio/video thumbnails, audio transcoding, media tags)"
|
|
|
|
RUN apk --no-cache add \
|
|
wget \
|
|
py3-pillow py3-pip py3-cffi \
|
|
ffmpeg \
|
|
vips-jxl vips-heif vips-poppler vips-magick \
|
|
&& python3 -m pip install pyvips \
|
|
&& apk del py3-pip \
|
|
&& mkdir /cfg /w \
|
|
&& chmod 777 /cfg /w \
|
|
&& echo % /cfg > initcfg
|
|
|
|
COPY i/dist/copyparty-sfx.py ./
|
|
WORKDIR /w
|
|
EXPOSE 3923
|
|
ENTRYPOINT ["python3", "/z/copyparty-sfx.py", "-c", "/z/initcfg"]
|