FROM alpine:latest # RUN apk -U --no-cache add \ # php7-fpm php7-gd php7-intl php7-json php7-pecl-redis php7-opcache php7-mysqli php7-pdo_mysql php7-pgsql php7-pdo_pgsql php7-sqlite3 \ # php7-pdo_sqlite php7-mbstring php7-xml php7-phar php7-iconv RUN apk -U --no-cache add \ php7-fpm php7-gd php7-intl php7-json php7-pecl-redis php7-opcache php7-pgsql php7-pdo_pgsql \ php7-mbstring php7-xml php7-phar php7-iconv php7-ctype php7-fileinfo php7-dom php7-pecl-apcu php7-openssl \ && addgroup -g 1000 www-data \ && adduser -D -G www-data -u 1000 www-data COPY www.conf /etc/php7/php-fpm.d/www.conf # COPY opcache.ini /usr/local/etc/php/conf.d/opcache.ini COPY date.ini /etc/php7/conf.d/datetimezone.ini # COPY session.ini /etc/php7/conf.d/session.ini # COPY redis.ini /usr/local/etc/php/conf.d/redis.ini VOLUME /socks CMD ["php-fpm7", "-F"]