Permalink
Browse files

Docker build

  • Loading branch information...
1 parent 9d0cb93 commit c917c6216ca8378b65c4dc4fdb2fbc575d764cc1 @Rudloff committed Dec 4, 2015
Showing with 17 additions and 0 deletions.
  1. +1 −0 .dockerignore
  2. +15 −0 Dockerfile
  3. +1 −0 php.ini
View
View
@@ -0,0 +1,15 @@
+FROM php:apache
+RUN apt-get update
+RUN apt-get install -y libicu-dev xz-utils git zlib1g-dev python npm nodejs-legacy
+RUN docker-php-ext-install mbstring
+RUN docker-php-ext-install intl
+RUN docker-php-ext-install zip
+RUN npm install -g bower grunt-cli
+RUN a2enmod rewrite
+COPY php.ini /usr/local/etc/php/
+COPY . /var/www/html/
+RUN curl -sS https://getcomposer.org/installer | php
+RUN php composer.phar install
+RUN npm install
+RUN bower --allow-root install
+RUN grunt
View
@@ -0,0 +1 @@
+date.timezone = UTC

0 comments on commit c917c62

Please sign in to comment.