alltube/Dockerfile

16 lines
600 B
Text
Raw Normal View History

2019-11-30 12:11:21 +00:00
FROM php:7.3-apache
2017-10-17 14:10:36 +00:00
RUN apt-get update
2020-06-22 21:51:53 +00:00
RUN apt-get install -y libicu-dev xz-utils git python libgmp-dev unzip ffmpeg
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 gmp
2015-12-04 10:08:47 +00:00
RUN a2enmod rewrite
2020-06-22 21:51:53 +00:00
RUN curl -sS https://getcomposer.org/installer | php -- --quiet
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/
RUN php composer.phar check-platform-reqs --no-dev
RUN php composer.phar install --prefer-dist --no-progress --no-dev --optimize-autoloader
RUN mkdir /var/www/html/templates_c/
2022-10-25 20:43:26 +00:00
RUN chmod 770 -R /var/www/html/templates_c/
2017-03-29 21:30:15 +00:00
ENV CONVERT=1