Add scirpt to create missing dir
This commit is contained in:
@@ -9,7 +9,8 @@ RUN apk add --no-cache \
|
|||||||
rsync
|
rsync
|
||||||
|
|
||||||
# Set recommended PHP settings
|
# Set recommended PHP settings
|
||||||
RUN echo 'memory_limit = 512M' > /usr/local/etc/php/conf.d/piwigo-custom.ini && \
|
RUN mkdir -p /usr/local/etc/php/conf.d && \
|
||||||
|
echo 'memory_limit = 512M' > /usr/local/etc/php/conf.d/piwigo-custom.ini && \
|
||||||
echo 'max_execution_time = 300' >> /usr/local/etc/php/conf.d/piwigo-custom.ini && \
|
echo 'max_execution_time = 300' >> /usr/local/etc/php/conf.d/piwigo-custom.ini && \
|
||||||
echo 'upload_max_filesize = 100M' >> /usr/local/etc/php/conf.d/piwigo-custom.ini && \
|
echo 'upload_max_filesize = 100M' >> /usr/local/etc/php/conf.d/piwigo-custom.ini && \
|
||||||
echo 'post_max_size = 100M' >> /usr/local/etc/php/conf.d/piwigo-custom.ini && \
|
echo 'post_max_size = 100M' >> /usr/local/etc/php/conf.d/piwigo-custom.ini && \
|
||||||
|
|||||||
Reference in New Issue
Block a user