You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

18 lines
441 B

FROM registry.sindominio.net/debian
ARG PHP_VERSION=7.4
RUN apt-get update
RUN apt-get -qy install php-fpm
COPY php-fpm.conf /etc/php/$PHP_VERSION/fpm/php-fpm.conf
RUN echo "include=/etc/php/$PHP_VERSION/fpm/pool.d/*.conf" >> /etc/php/$PHP_VERSION/fpm/php-fpm.conf
COPY www.conf /etc/php/$PHP_VERSION/fpm/pool.d/www.conf
RUN ln -s /usr/sbin/php-fpm$PHP_VERSION /usr/sbin/php-fpm
EXPOSE 9000
CMD ["/usr/sbin/php-fpm","--nodaemonize"]