yii2.dockerfile 183 B

123456789
  1. FROM tfb/php7:latest
  2. ADD ./ /yii2
  3. WORKDIR /yii2
  4. RUN composer.phar install --no-progress
  5. CMD service php7.2-fpm start && \
  6. nginx -c /yii2/deploy/nginx-fpm.conf -g "daemon off;"