2023-03-21 18:54:58 +00:00
|
|
|
FROM php:7.4-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 intl
|
2017-10-02 22:30:32 +00:00
|
|
|
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/
|
2020-06-22 22:01:55 +00:00
|
|
|
RUN php composer.phar check-platform-reqs --no-dev
|
2020-06-22 21:38:29 +00:00
|
|
|
RUN php composer.phar install --prefer-dist --no-progress --no-dev --optimize-autoloader
|
2022-11-07 20:19:52 +00:00
|
|
|
RUN mkdir /var/www/html/templates_c/
|
2022-10-25 20:43:26 +00:00
|
|
|
RUN chmod 770 -R /var/www/html/templates_c/
|
2023-03-21 19:07:31 +00:00
|
|
|
RUN chown www-data -R /var/www/html/templates_c/
|
2017-03-29 21:30:15 +00:00
|
|
|
ENV CONVERT=1
|