こんなエラーが出た。
[ErrorException]
file_put_contents(/var/www/vendor/bin/psysh): failed to open stream: No such file or directory
コンテナ内でシンボリックリンクが張れていない。
root@380bcf931eed:/var/www# ll /var/www/vendor/bin/psysh
ls: cannot read symbolic link '/var/www/vendor/bin/psysh': No such file or directory
l--------- 1 root root 0 Oct 28 02:57 /var/www/vendor/bin/psysh
マウント元確認
lrwxrwxrwx 1 erySandriver erySandriver 22 Oct 28 11:57 psysh -> ../psy/psysh/bin/psysh*
コンテナ内で同様に貼りなおす
root@380bcf931eed:/var/www/vendor/bin# rm psysh
root@380bcf931eed:/var/www/vendor/bin# ln -s psysh ../psy/psysh/bin/psysh
手動で無理やり感満載だけど、できた。
root@380bcf931eed:/var/www# composer update
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Discovered Package: barryvdh/laravel-debugbar
Discovered Package: encore/laravel-admin
Discovered Package: facade/ignition
Discovered Package: fideloper/proxy
Discovered Package: laravel/tinker
Discovered Package: nesbot/carbon
Discovered Package: nunomaduro/collision
Package manifest generated successfully.