Skip to content

Commit

Permalink
Increase upload limit
Browse files Browse the repository at this point in the history
  • Loading branch information
rigon committed Oct 4, 2020
1 parent af06ca6 commit 943282f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ VOLUME /var/www/html/files/

COPY . /var/www/html/

RUN chmod a-w README.md EXAMPLES.md MARKDOWN-STYLES.md
RUN chmod a-w README.md EXAMPLES.md MARKDOWN-STYLES.md && \
echo "upload_max_filesize = 50M" > /usr/local/etc/php/conf.d/upload_size.ini && \
echo "post_max_size = 50M" >> /usr/local/etc/php/conf.d/upload_size.ini

0 comments on commit 943282f

Please sign in to comment.