8 lines
385 B
Docker
8 lines
385 B
Docker
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/
|