Last active
August 19, 2026 08:08
-
-
Save kawalain/bf68b3bf612f1a008fc210758137901d to your computer and use it in GitHub Desktop.
copyparty beta with HEIC/HEVC thumbnail support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Building it yourself is possible, but honestly it takes too long and is a hassle. | |
| # If you just grab the necessary packages, it should work. | |
| # If HEIC images taken with a device like Samsung appear abnormal, please refer to the link below: | |
| # - https://trac.ffmpeg.org/ticket/11170#comment:3 | |
| # - https://pastebin.com/NNmTzzXW | |
| # This cannot be resolved unless the arguments passed to ffmpeg within copyparty are changed. | |
| # As a temporary workaround, you can configure vips or pillow to process HEIF files first. | |
| # To do this, set `th-dec` to `vips,ff,raw,pil` in the copyparty configuration. | |
| FROM docker.io/copyparty/ac:beta | |
| RUN apk add --no-cache --virtual .build-deps \ | |
| build-base python3-dev py3-pip | |
| RUN apk add --no-cache \ | |
| py3-mutagen \ | |
| vips vips-heif vips-jxl \ | |
| libraw-tools | |
| RUN pip3 install --break-system-packages --no-cache-dir \ | |
| pyvips \ | |
| pillow-heif pillow-avif-plugin \ | |
| rawpy | |
| RUN apk del .build-deps && rm -rf /root/.cache /tmp/* | |
| COPY --from=docker.io/mwader/static-ffmpeg:8.1.2 /ffmpeg /usr/bin/ffmpeg | |
| COPY --from=docker.io/mwader/static-ffmpeg:8.1.2 /ffprobe /usr/bin/ffprobe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment