From 943282f09ccaabb782df7963f32933e64dba4bc8 Mon Sep 17 00:00:00 2001 From: rigon Date: Sun, 4 Oct 2020 20:06:10 +0100 Subject: [PATCH] Increase upload limit --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8cf48f5..9d5ead7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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