There is missed file vendor/autoload.php error
After following the instructions to build Docker image by docker-compose, When access url: http://localhost:8000/
Errors appear as:
Warning: require(/var/www/public/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/public/index.php on line 24
Fatal error: require(): Failed opening required '/var/www/public/../vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /var/www/public/index.php on line 24
Hi @shaopengwu I just refreshed the demo code. I think that fixed the problem. Could you try again? Thank you
Hi @TomFern,
Thanks for the reply.
I realised I started from Docker directly. So that I did not install composer (nor installation PHP in order to keep everything inside of Docker) on my host machine.
So that, the 'vendor' folder is not found.
I will try to see if I can modify Dockerfile to install composer and installation in docker directly.
thanks