Fix file upload size limits and toast messages on failure
This commit is contained in:
@@ -9,4 +9,8 @@ COPY . /var/www/html/
|
||||
# Set ownership and permissions
|
||||
RUN chown -R www-data:www-data /var/www/html
|
||||
|
||||
# Increase PHP upload and post size limits
|
||||
RUN echo "upload_max_filesize = 10M" > /usr/local/etc/php/conf.d/uploads.ini \
|
||||
&& echo "post_max_size = 10M" >> /usr/local/etc/php/conf.d/uploads.ini
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
Reference in New Issue
Block a user