Commit 8f9e2856 authored by Luca Freckmann's avatar Luca Freckmann
Browse files

Update Dockerfile

  * added custom php.ini to extend upload file size
parent 12b6b1b5
......@@ -99,4 +99,11 @@ RUN find . -maxdepth 1 -type f -delete && rm -rf .git
# All done; set workdir to webroot, set main process user back to root
WORKDIR /var/www/html/
USER root:root
\ No newline at end of file
USER root:root
# Add a custom php.ini file for Drupal project
RUN echo "upload_max_filesize = 50M" > php.ini \
&& echo "post_max_size = 50M" >> php.ini \
&& echo "sendmail_path = '/usr/sbin/sendmail -t -i'" >> php.ini
\ No newline at end of file
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