#!/bin/sh # Set attachment size limit sed -i "s//$UPLOAD_MAX_SIZE/g" /etc/php7/php-fpm.conf /etc/nginx/nginx.conf # Fix permissions chown -R $UID:$GID /rainloop /services /var/log /var/lib/nginx # RUN ! exec su-exec $UID:$GID /bin/s6-svscan /services