FROM registry.sindominio.net/php-fpm RUN apt-get update && \ apt-get -qy install \ php-mysql php-curl php-gd php-mbstring php-xml php-xmlrpc php-soap php-intl php-zip \ wget less tar curl ca-certificates &&\ apt-get clean RUN mkdir -p /app/ WORKDIR /app RUN curl -s -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && \ chmod +x wp-cli.phar && \ mv wp-cli.phar /usr/local/bin/wp COPY ./config/wp-config-sample.php /tmp/wp-config-sample.php COPY ./entrypoint.sh /entrypoint.sh VOLUME /app/ EXPOSE 9000 ENTRYPOINT [ "/bin/sh", "/entrypoint.sh" ] CMD ["/usr/sbin/php-fpm","--nodaemonize"]