2016-04-16 18:24:07 +02:00
|
|
|
FROM php:5.6-apache
|
2015-12-04 11:08:47 +01:00
|
|
|
RUN apt-get update
|
2016-12-18 22:41:56 +01:00
|
|
|
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
|
|
|
|
RUN apt-get install -y libicu-dev xz-utils git zlib1g-dev python nodejs
|
2015-12-04 11:08:47 +01:00
|
|
|
RUN docker-php-ext-install mbstring
|
|
|
|
RUN docker-php-ext-install intl
|
|
|
|
RUN docker-php-ext-install zip
|
|
|
|
RUN a2enmod rewrite
|
2016-12-18 22:41:56 +01:00
|
|
|
RUN curl -sS https://getcomposer.org/installer | php
|
2017-05-15 07:25:14 +02:00
|
|
|
COPY resources/php.ini /usr/local/etc/php/
|
2015-12-04 11:08:47 +01:00
|
|
|
COPY . /var/www/html/
|
2016-12-18 22:41:56 +01:00
|
|
|
RUN php composer.phar install --prefer-dist
|
2015-12-04 11:08:47 +01:00
|
|
|
RUN npm install
|
2017-03-29 21:42:48 +02:00
|
|
|
RUN ./node_modules/.bin/bower --allow-root install
|
|
|
|
RUN ./node_modules/.bin/grunt
|
2017-03-29 23:30:15 +02:00
|
|
|
ENV CONVERT=1
|