FROM alpine:3.18 # RUN addgroup -g 1000 www-data \ # && adduser -D -G www-data -u 1000 www-data \ RUN adduser -D -G www-data -u 1000 www-data \ && apk -U --no-cache add shadow \ php82-fpm php82-gd php82-intl php82-json php82-pecl-redis php82-opcache php82-pgsql php82-pdo_pgsql \ php82-mysqlnd php82-pdo_mysql \ php82-mbstring php82-xml php82-phar php82-iconv php82-ctype php82-fileinfo php82-dom php82-pecl-apcu php82-openssl \ && groupmod --gid 1000 www-data # RUN curl -sS https://getcomposer.org/installer | php -- \ # --install-dir=/usr/bin --filename=composer && chmod +x /usr/bin/composer COPY www.conf /etc/php82/php-fpm.d/www.conf # COPY opcache.ini /usr/local/etc/php/conf.d/opcache.ini COPY date.ini /etc/php82/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-fpm82", "-F"]