alltube/Dockerfile
Pierre Rudloff 9f6b2d41a9 Call check-platform-reqs when building the Docker image
This way we can catch dependency issues earlier
2020-06-23 00:01:55 +02:00

13 lines
519 B
Docker

FROM php:7.3-apache
RUN apt-get update
RUN apt-get install -y libicu-dev xz-utils git python libgmp-dev unzip ffmpeg
RUN docker-php-ext-install mbstring
RUN docker-php-ext-install intl
RUN docker-php-ext-install gmp
RUN a2enmod rewrite
RUN curl -sS https://getcomposer.org/installer | php -- --quiet
COPY resources/php.ini /usr/local/etc/php/
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
ENV CONVERT=1