From d6d6b4b3a0e7242b9204521f0241e9544bc39825 Mon Sep 17 00:00:00 2001 From: Debian Date: Fri, 7 Mar 2025 21:34:15 +0000 Subject: [PATCH] fix: use ImageMagick version compatible with Wand --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Dockerfile b/Dockerfile index aaf491f..7ae75fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,15 @@ FROM python:3.11 RUN apt-get update RUN apt-get install webp -y +# This specific version of ImageMagick is required for compatibility with Wand +RUN wget https://www.imagemagick.org/download/releases/ImageMagick-6.9.10-90.tar.xz && \ +tar -xvf ImageMagick-6.9.10-90.tar.xz && \ +cd ImageMagick-6.9.10-90 && \ +./configure --with-webp=yes && \ +make && \ +make install && \ +ldconfig /usr/local/lib + RUN pip install uwsgi uwsgitop WORKDIR /prism