Dockerfile 432 B

12345678910111213141516
  1. FROM php:7.0-apache
  2. MAINTAINER Alex Marston <[email protected]>
  3. # Install Git
  4. RUN apt-get update && apt-get install -y git unzip
  5. # Install Composer to handle dependencies
  6. RUN curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/local/bin/composer
  7. # Copy application source code to html directory
  8. COPY ./app/ /var/www/html/
  9. # Install dependencies
  10. RUN composer install
  11. RUN mkdir -p /var/lib/vnstat