Docker october update allowed memory size exhausted

I’m using the OC docker image, but now have troubles to:

php artisan october:update

I can however composer update and then php artisan october:migrate.

Here’s the full error message:

PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 1310720 bytes) in /Users/maki/code/goodbad/git/goodbad_oc/octobercms-files/vendor/composer/composer/src/Composer/DependencyResolver/DefaultPolicy.php on line 89
PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 36864 bytes) in /Users/maki/code/goodbad/git/goodbad_oc/octobercms-files/vendor/october/rain/src/Extension/ExtendableTrait.php on line 348

I tried to up the memory_limit=256M from 128M in /usr/local/etc/php/conf.d/oc-php.ini inside the container, but that didn’t help.