From 7ec9c4bc9de6d4878c00e987bd55d3ef2333918e Mon Sep 17 00:00:00 2001 From: Jaiden Date: Sun, 25 May 2025 03:06:05 -0400 Subject: [PATCH] remove vips and install imagick ext --- config/image.php | 2 +- deploy/Dockerfile | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/config/image.php b/config/image.php index cc37543..d356964 100644 --- a/config/image.php +++ b/config/image.php @@ -16,7 +16,7 @@ return [ | */ - 'driver' => \Intervention\Image\Drivers\Vips\Driver::class, + 'driver' => \Intervention\Image\Drivers\Imagick\Driver::class, /* |-------------------------------------------------------------------------- diff --git a/deploy/Dockerfile b/deploy/Dockerfile index 5bf4cb3..5c8ccf1 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -3,7 +3,7 @@ FROM dunglas/frankenphp # Copy php.ini COPY ./deploy/php.ini $PHP_INI_DIR/php.ini -RUN apt update -y && apt install --no-install-recommends -y git nodejs npm libvips42 +RUN apt update -y && apt install -y --no-install-recommends git nodejs npm COPY --from=composer:lts /usr/bin/composer /usr/bin/composer RUN install-php-extensions \ @@ -13,8 +13,7 @@ RUN install-php-extensions \ mongodb \ pcntl \ gmp \ - ffi \ - vips \ + imagick \ zip COPY . /app