Do not create runtime dirs in Dockerfile
This commit is contained in:
parent
318d222f55
commit
8dc3edfc17
|
@ -26,9 +26,7 @@ RUN echo "Listen 8000" > /etc/apache2/ports.conf
|
|||
|
||||
RUN a2enmod headers expires deflate mime dir rewrite setenvif
|
||||
|
||||
RUN rm -rf /var/lib/php \
|
||||
&& ln -s /run/php /var/lib/php \
|
||||
&& mkdir -p /run/php/session
|
||||
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 && \
|
||||
|
|
Loading…
Reference in New Issue