Dockerfile-71 343 B

1234567891011121314151617
  1. FROM php:7.1.14-alpine
  2. MAINTAINER Peter Lai <alk03073135@gmail.com>
  3. ADD composer-setup.php composer-setup.php
  4. RUN apk update && \
  5. apk add git
  6. # Install nodejs
  7. # Run apk add --update nodejs nodejs-npm
  8. # Install composer
  9. RUN php composer-setup.php && \
  10. php composer-setup.php --install-dir=/usr/bin --filename=composer
  11. WORKDIR /app