- FROM ubuntu:trusty
- RUN apt-get update && apt-get install -y \
- php5-fpm
- COPY bootstrap.sh /usr/local/bin/bootstrap.sh
- RUN chmod u+x /usr/local/bin/bootstrap.sh
- # append fpm-pool configuration
- COPY www.conf /etc/php5/fpm/pool.d/www.conf
- EXPOSE 9000
- CMD bootstrap.sh
|