Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Medizinische Informatik - Öffentliche Projekte
menoci
Commits
8f9e2856
Commit
8f9e2856
authored
Jun 03, 2020
by
Luca Freckmann
Browse files
Update Dockerfile
* added custom php.ini to extend upload file size
parent
12b6b1b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
8f9e2856
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment