Configure PHP upload size limits in Dockerfile
Add PHP upload size configuration to Dockerfile
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user