Commit 72ee9cce authored by Fabio Montefuscolo's avatar Fabio Montefuscolo

change max upload file for wordpress

parent 54677eec
......@@ -4,7 +4,13 @@ MAINTAINER Hacklab <contato@hacklab.com.br>
RUN curl -s -o wp-cli.phar 'https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar?0.25' \
&& chmod +x wp-cli.phar \
&& mv wp-cli.phar /usr/local/bin/wp \
&& wp core download --path=/var/www/html/ --version=4.7.4 --locale=pt_BR --allow-root
&& wp core download --path=/var/www/html/ --version=4.7.4 --locale=pt_BR --allow-root \
&& { \
echo "file_uploads = On"; \
echo "upload_max_filesize = 2048M";\
echo "post_max_size = 2048M"; \
echo "max_file_uploads = 20"; \
} > /usr/local/etc/php/conf.d/wordrpess-upload.ini
COPY docker-entrypoint.sh /entrypoint.sh
COPY htaccess /var/www/html/.htaccess
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment