php/Dockerfile-fpm

8 lines
389 B
Plaintext
Raw Permalink Normal View History

2023-05-28 19:22:57 +00:00
FROM php:8.2-fpm-alpine AS php-system-setup
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
COPY --from=mlocati/php-extension-installer:2 /usr/bin/install-php-extensions /usr/bin/
RUN install-php-extensions bcmath curl mbstring fileinfo gd intl mysqli opcache openssl pcntl pdo_mysql posix redis uuid zip
COPY --from=composer/composer:2 /usr/bin/composer /usr/local/bin/