Enter the project folder and use composer command.
$ docker run --rm -v $(pwd):/app composer install
Define the ownership properties of the folder.
$ sudo chown -R $USER:$USER ~/laravel-app
Crete the files below and start the containers:
$ docker-compose up -d
Important commands