Browse Source

dockerfile update

master
filesite 2 weeks ago
parent
commit
4139d141be
  1. 2
      Dockerfile

2
Dockerfile

@ -1,7 +1,7 @@ @@ -1,7 +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-configure gd --with-freetype --with-jpeg --with-webp \
&& 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 \

Loading…
Cancel
Save