From 6b4a1d21beccdd919c746321485cc23c37560867 Mon Sep 17 00:00:00 2001 From: Tero Date: Sat, 24 Oct 2026 14:07:52 +0300 Subject: [PATCH] Some minor fixes to directories --- ep-piwigo-docker/Dockerfile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/ep-piwigo-docker/Dockerfile b/ep-piwigo-docker/Dockerfile index 27a0ba2..5524da6 100644 --- a/ep-piwigo-docker/Dockerfile +++ b/ep-piwigo-docker/Dockerfile @@ -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 -# Copy custom startup script (runs before main entrypoint) -COPY docker-startup.sh /usr/local/bin/docker-startup.sh -RUN chmod +x /usr/local/bin/docker-startup.sh - -# Run startup script before main entrypoint -# Use base image's entrypoint (docker-php-entrypoint) -CMD ["/usr/local/bin/docker-startup.sh"] \ No newline at end of file +# Copy custom startup script to s6 init directory (runs during container init) +COPY docker-startup.sh /etc/cont-init.d/99-custom-startup +RUN chmod +x /etc/cont-init.d/99-custom-startup \ No newline at end of file