Simplify directory creation

This commit is contained in:
2026-10-24 13:38:58 +03:00
parent dd635efdea
commit 66e1eab133
3 changed files with 9 additions and 7 deletions
-4
View File
@@ -16,10 +16,6 @@ RUN mkdir -p /usr/local/etc/php/conf.d && \
echo 'post_max_size = 100M' >> /usr/local/etc/php/conf.d/piwigo-custom.ini && \
echo 'max_file_uploads = 50' >> /usr/local/etc/php/conf.d/piwigo-custom.ini
# Create directory structure
RUN mkdir -p /var/www/html/upload /var/www/html/local/config /var/www/html/galleries \
&& chown -R www-data:www-data /var/www/html
# Copy custom entrypoint for restore support
COPY docker-entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh