From 207950e6522f54e3d5111db2bbae8ab9b8281b32 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Tue, 24 Mar 2026 13:43:28 +0100 Subject: Move uploads to a named Docker volume Replace the bind-mounted src/uploads/ with a named volume shared between PHP (read-write) and Nginx (read-only). Remove entrypoint.sh since the volume handles directory creation automatically. --- docker/php/Dockerfile | 2 -- 1 file changed, 2 deletions(-) (limited to 'docker/php/Dockerfile') diff --git a/docker/php/Dockerfile b/docker/php/Dockerfile index cb7befd..e3d3dea 100644 --- a/docker/php/Dockerfile +++ b/docker/php/Dockerfile @@ -22,8 +22,6 @@ tls off" > /etc/msmtprc RUN echo "upload_max_filesize = 10M" > /usr/local/etc/php/conf.d/uploads.ini \ && echo "post_max_size = 10M" >> /usr/local/etc/php/conf.d/uploads.ini -COPY entrypoint.sh /usr/local/bin/entrypoint.sh -ENTRYPOINT ["entrypoint.sh"] CMD ["php-fpm"] WORKDIR /var/www/html -- cgit v1.2.3