Some minor fixes to directories
This commit is contained in:
@@ -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"]
|
||||
# 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
|
||||
Reference in New Issue
Block a user