The docker/php.ini file is used to set some settings for PHP. It looks like this.
Update these:
post_max_size = 2M
upload_max_filesize = 0M
memory_limit = 128M
Based on your error message it sounds like it’s related to memory_limit specifically. Do you know how large the file is? Using streaming should, in theory, be efficient enough to not need a high PHP limit. But if you need to increase the memory limit, you can!
Don’t forget your Fly virtual machine has its own cap on memory usage (default of 256m for the free tier).