php Laravel composer docker
7.2.23 5.8.35 1.9.0 19.03.1

When the server is started and accessed from the browser, the following is displayed.


Warning: require (/ var/www/project/public /../ vendor/autoload.php): failed to open stream: No such file or directory in /var/www/project/public/index.php on line 24


Fatal error: require (): Failed opening required '/var/www/project/public/../vendor/autoload.php' (include_path = '.:/usr/local/lib/php') in/var/www/project/public/index.php on line 24

At the host machine, notice that there is no vendor directory,
I confirmed that the vendor directory, autoload.php, etc. were generated by composer install
There was no change from the above.

When checking directly from inside the container with docker exec, there is a vendor directory, etc., but autoload.php could not be checked. Is it related?

What else should I check?