Use latest base image
This commit is contained in:
parent
ebcc80e134
commit
41c17e5c99
14
Dockerfile
14
Dockerfile
|
@ -1,4 +1,4 @@
|
|||
FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c67c933c546357617
|
||||
FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4
|
||||
|
||||
RUN mkdir -p /app/code
|
||||
WORKDIR /app/code
|
||||
|
@ -26,12 +26,12 @@ 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.2/apache2/php.ini PHP upload_max_filesize 64M && \
|
||||
crudini --set /etc/php/7.2/apache2/php.ini PHP post_max_size 64M && \
|
||||
crudini --set /etc/php/7.2/apache2/php.ini PHP memory_limit 64M && \
|
||||
crudini --set /etc/php/7.2/apache2/php.ini Session session.save_path /run/php/session && \
|
||||
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 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
|
||||
|
||||
ADD start.sh /app/code/start.sh
|
||||
|
||||
|
|
Loading…
Reference in New Issue