php-fpm.docker 421 B

12345678910111213141516
  1. FROM php:7.4-fpm
  2. RUN apt-get update && apt-get install -y wget git unzip \
  3. && pecl install xdebug-2.9.5 \
  4. && docker-php-ext-enable xdebug
  5. RUN apt-get install -y libxml2-dev \
  6. && docker-php-ext-install soap
  7. ADD php.ini /usr/local/etc/php/php.ini
  8. RUN apt-get update && apt-get install -y libpq-dev && docker-php-ext-install pdo pdo_mysql mysqli
  9. RUN docker-php-ext-enable pdo pdo_mysql mysqli
  10. WORKDIR /app