diff --git a/Dockerfile b/Dockerfile index b32a7fc..0edc5e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,7 +40,15 @@ RUN rm /etc/apache2/sites-enabled/* \ && a2ensite freshrss RUN rm -rf /var/lib/php \ - && ln -s /run/php /var/lib/php + && ln -s /run/php /var/lib/php \ + && mkdir -p /run/php/session + +RUN crudini --set /etc/php/7.0/apache2/php.ini PHP upload_max_filesize 64M && \ + crudini --set /etc/php/7.0/apache2/php.ini PHP post_max_size 64M && \ + crudini --set /etc/php/7.0/apache2/php.ini PHP memory_limit 64M && \ + crudini --set /etc/php/7.0/apache2/php.ini Session session.save_path /run/php/session && \ + crudini --set /etc/php/7.0/apache2/php.ini Session session.gc_probability 1 && \ + crudini --set /etc/php/7.0/apache2/php.ini Session session.gc_divisor 100 ADD start.sh /app/code/start.sh