Commit 740e8702 authored by Girish Ramakrishnan's avatar Girish Ramakrishnan

Use latest base image

parent a447398d
FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c67c933c546357617
FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4
ARG RELEASE=1.3.4
......@@ -20,7 +20,6 @@ RUN \
&& ln -s /app/data/data /app/code/data \
&& chown -R www-data.www-data /app/code
# configure apache
RUN rm /etc/apache2/sites-enabled/*
RUN sed -e 's,^ErrorLog.*,ErrorLog "|/bin/cat",' -i /etc/apache2/apache2.conf
......@@ -33,13 +32,12 @@ RUN echo "Listen 8000" > /etc/apache2/ports.conf
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
# configure mod_php
RUN a2enmod php7.2
RUN crudini --set /etc/php/7.2/apache2/php.ini PHP upload_max_filesize 256M && \
crudini --set /etc/php/7.2/apache2/php.ini PHP upload_max_size 256M && \
crudini --set /etc/php/7.2/apache2/php.ini PHP post_max_size 256M && \
crudini --set /etc/php/7.2/apache2/php.ini PHP memory_limit 256M && \
crudini --set /etc/php/7.2/apache2/php.ini PHP max_execution_time 200 && \
crudini --set /etc/php/7.2/apache2/php.ini Session session.gc_probability 1 && \
crudini --set /etc/php/7.2/apache2/php.ini Session session.gc_divisor 100
RUN crudini --set /etc/php/7.3/apache2/php.ini PHP upload_max_filesize 256M && \
crudini --set /etc/php/7.3/apache2/php.ini PHP upload_max_size 256M && \
crudini --set /etc/php/7.3/apache2/php.ini PHP post_max_size 256M && \
crudini --set /etc/php/7.3/apache2/php.ini PHP memory_limit 256M && \
crudini --set /etc/php/7.3/apache2/php.ini PHP max_execution_time 200 && \
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
CMD [ "/app/pkg/start.sh" ]
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