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