Update docker file to correct imagemagick path.

This commit is contained in:
Patrick Fic
2023-07-20 14:54:26 -07:00
parent aa3b567a5b
commit 5986e66212

View File

@@ -46,9 +46,9 @@ RUN apt-get -y install wget && apt-get install -y ruby-full && ruby -v
# RUN apt-get install imagemagick -y
# # Install ImageMagick with WEBP and HEIC support
RUN wget https://download.imagemagick.org/ImageMagick/download/releases/ImageMagick-7.1.0-57.tar.gz
RUN tar -xvf ImageMagick-7.1.0-57.tar.gz
WORKDIR /usr/src/app/ImageMagick-7.1.0-57/
RUN wget https://download.imagemagick.org/archive/releases/ImageMagick-7.1.1-13.tar.xz
RUN tar -xvf ImageMagick-7.1.1-13.tar.xz
WORKDIR /usr/src/app/ImageMagick-7.1.1-13/
RUN ./configure --with-heic=yes --with-webp=yes
RUN make
RUN make install