Dockerfile 274 B

123456789101112131415
  1. FROM ubuntu:trusty
  2. RUN apt-get update && apt-get install -y \
  3. php5-fpm
  4. COPY bootstrap.sh /usr/local/bin/bootstrap.sh
  5. RUN chmod u+x /usr/local/bin/bootstrap.sh
  6. # append fpm-pool configuration
  7. COPY www.conf /etc/php5/fpm/pool.d/www.conf
  8. EXPOSE 9000
  9. CMD bootstrap.sh