Warning: require(/app/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /app/bootstrap/autoload.php on line 17
Fatal error: require(): Failed opening required '/app/bootstrap/../vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /app/bootstrap/autoload.php on line 17
ERROR: 255
Help please. Tried these dockerfile and docker-compose.yml on 2 different laravel projects to no avail.
Warning: require(/app/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /app/bootstrap/autoload.php on line 17
Fatal error: require(): Failed opening required '/app/bootstrap/../vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /app/bootstrap/autoload.php on line 17
ERROR: 255
Help please. Tried these dockerfile and docker-compose.yml on 2 different laravel projects to no avail.
this tutorial was based on old version of laravel, what version are you using?
Probably you must update in Dockerfile some version of PHP etc...
8.56 Laravel. I was able to fix this issue by adding "composer install" in Dockerfile RUN command. Thanks