Configure PHP upload size limits in Dockerfile

Add PHP upload size configuration to Dockerfile
This commit is contained in:
Fernando
2026-05-09 02:12:06 -06:00
committed by GitHub
parent 8040e8e8fe
commit 9697a6b20a
+3
View File
@@ -15,6 +15,9 @@ RUN mkdir -p storage/framework/{sessions,views,cache} \
&& mkdir -p storage/app/livewire-tmp \ && mkdir -p storage/app/livewire-tmp \
&& chmod -R 775 storage bootstrap/cache && chmod -R 775 storage bootstrap/cache
RUN echo "upload_max_filesize=20M" > /usr/local/etc/php/conf.d/uploads.ini \
&& echo "post_max_size=25M" >> /usr/local/etc/php/conf.d/uploads.ini
RUN php artisan storage:link RUN php artisan storage:link
COPY supervisord.conf /etc/supervisord.conf COPY supervisord.conf /etc/supervisord.conf