Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down