php/Dockerfile

8 lines
385 B
Docker
Raw Permalink Normal View History

2023-05-28 19:22:57 +00:00
FROM php:8.2-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/