|
|
|
@ -1,6 +1,7 @@
@@ -1,6 +1,7 @@
|
|
|
|
|
FROM php:8.2-fpm-alpine3.20 |
|
|
|
|
RUN apk add autoconf gcc musl-dev make imagemagick-dev rsync nginx zlib-dev libpng-dev freetype-dev libjpeg-turbo-dev libwebp-dev \ |
|
|
|
|
&& docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp \ |
|
|
|
|
&& docker-php-ext-install exif \ |
|
|
|
|
&& docker-php-ext-install -j$(nproc) gd \ |
|
|
|
|
&& pecl install imagick && docker-php-ext-enable imagick \ |
|
|
|
|
&& cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini \ |
|
|
|
|