7c10c413 by Adam Heath

Move location of php-fpm entrypoint from /root to /sbin.

1 parent 080295db
......@@ -8,5 +8,5 @@ RUN /tmp/files/configure
ADD https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar /usr/local/bin/wp
RUN ["chmod", "755", "/usr/local/bin/wp"]
ENTRYPOINT ["/root/entrypoint"]
ENTRYPOINT ["/sbin/entrypoint"]
CMD ["/usr/sbin/php-fpm7.0", "--nodaemonize", "--force-stderr", "--fpm-config", "/etc/php/7.0/fpm/php-fpm.conf"]
......
......@@ -7,7 +7,7 @@ apt-get install -y sudo ssmtp php7.0-fpm php7.0-mysql php7.0-imagick php7.0-ldap
rm /etc/php/7.0/fpm/pool.d/www.conf
cp -a /tmp/files/app-defaults.conf /etc/php/7.0/fpm
cp /tmp/files/entrypoint /root/entrypoint
cp /tmp/files/entrypoint /sbin/entrypoint
addgroup hostgroup
adduser --gecos 'Host User' --ingroup hostgroup --disabled-password hostuser
......