diff --git a/Dockerfile b/Dockerfile index 9b38172..d5b1845 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4 +FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92 RUN mkdir -p /app/code WORKDIR /app/code @@ -26,15 +26,15 @@ RUN a2enmod headers expires deflate mime dir rewrite setenvif RUN rm -rf /var/lib/php && ln -s /run/php /var/lib/php -RUN crudini --set /etc/php/7.3/apache2/php.ini PHP upload_max_filesize 64M && \ - crudini --set /etc/php/7.3/apache2/php.ini PHP post_max_size 64M && \ - crudini --set /etc/php/7.3/apache2/php.ini PHP memory_limit 64M && \ - crudini --set /etc/php/7.3/apache2/php.ini Session session.save_path /run/php/session && \ - crudini --set /etc/php/7.3/apache2/php.ini Session session.gc_probability 1 && \ - crudini --set /etc/php/7.3/apache2/php.ini Session session.gc_divisor 100 +RUN crudini --set /etc/php/7.4/apache2/php.ini PHP upload_max_filesize 64M && \ + crudini --set /etc/php/7.4/apache2/php.ini PHP post_max_size 64M && \ + crudini --set /etc/php/7.4/apache2/php.ini PHP memory_limit 64M && \ + crudini --set /etc/php/7.4/apache2/php.ini Session session.save_path /run/php/session && \ + crudini --set /etc/php/7.4/apache2/php.ini Session session.gc_probability 1 && \ + crudini --set /etc/php/7.4/apache2/php.ini Session session.gc_divisor 100 -RUN ln -s /app/data/php.ini /etc/php/7.3/apache2/conf.d/99-cloudron.ini && \ - ln -s /app/data/php.ini /etc/php/7.3/cli/conf.d/99-cloudron.ini +RUN ln -s /app/data/php.ini /etc/php/7.4/apache2/conf.d/99-cloudron.ini && \ + ln -s /app/data/php.ini /etc/php/7.4/cli/conf.d/99-cloudron.ini ADD start.sh /app/code/start.sh