- FROM php:7.4-fpm
- RUN apt-get update && apt-get install -y wget git unzip \
- && pecl install xdebug-2.9.5 \
- && docker-php-ext-enable xdebug
- RUN apt-get install -y libxml2-dev \
- && docker-php-ext-install soap
- ADD php.ini /usr/local/etc/php/php.ini
- RUN apt-get update && apt-get install -y libpq-dev && docker-php-ext-install pdo pdo_mysql mysqli
- RUN docker-php-ext-enable pdo pdo_mysql mysqli
- WORKDIR /app
|