zend.dockerfile 229 B

123456789101112
  1. FROM tfb/php7:latest
  2. ADD ./ /zend
  3. WORKDIR /zend
  4. RUN mkdir -p data/cache
  5. RUN chmod 777 data/cache
  6. RUN composer.phar install --no-progress
  7. CMD service php7.2-fpm start && \
  8. nginx -c /zend/deploy/nginx.conf -g "daemon off;"