|
|
|
@ -5,6 +5,8 @@ COPY . /var/www/html/
|
|
|
|
|
WORKDIR /var/www/html/
|
|
|
|
|
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
|
|
|
|
RUN composer update && composer install
|
|
|
|
|
RUN sed -i '/upload_max_filesize/s/.*/upload_max_filesize\ = 64M/g' /etc/php/php.ini
|
|
|
|
|
RUN sed -i '/post_max_size/s/.*/post_max_size \= 64M/g' /etc/php/php.ini
|
|
|
|
|
RUN a2enmod rewrite
|
|
|
|
|
RUN a2enmod actions
|
|
|
|
|
RUN service apache2 restart
|
|
|
|
|