FROM php:7-fpm-alpine WORKDIR /var/www RUN apk add --no-cache libcurl curl-dev libpng libpng-dev icu-dev libzip libzip-dev shadow \ && usermod -u 1000 www-data && groupmod -g 1000 www-data \ && docker-php-ext-install ctype curl gd iconv intl mysqli pdo pdo_mysql zip exif COPY ./php.ini /usr/local/etc/php/