alltube/Dockerfile

22 lines
868 B
Text
Raw Normal View History

2019-11-30 12:11:21 +00:00
FROM php:7.3-apache
2018-07-26 18:37:59 +00:00
RUN apt-get update && apt-get install -my gnupg
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
2017-10-17 14:10:36 +00:00
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN apt-get update
2019-10-03 20:53:17 +00:00
RUN apt-get install -y libicu-dev xz-utils git zlib1g-dev python nodejs libgmp-dev gettext yarn libxslt1-dev
2015-12-04 10:08:47 +00:00
RUN docker-php-ext-install mbstring
RUN docker-php-ext-install intl
RUN docker-php-ext-install zip
RUN docker-php-ext-install gmp
RUN docker-php-ext-install gettext
2019-10-03 20:13:01 +00:00
RUN docker-php-ext-install xsl
2015-12-04 10:08:47 +00:00
RUN a2enmod rewrite
2016-12-18 21:41:56 +00:00
RUN curl -sS https://getcomposer.org/installer | php
2017-05-15 05:25:14 +00:00
COPY resources/php.ini /usr/local/etc/php/
2015-12-04 10:08:47 +00:00
COPY . /var/www/html/
2019-10-06 21:36:42 +00:00
RUN php composer.phar install --prefer-dist --no-progress
RUN yarn install --prod
2018-01-06 16:53:03 +00:00
RUN yarn grunt
2017-03-29 21:30:15 +00:00
ENV CONVERT=1