Make sure you have Git, Docker and Yarn installed before you run the script! Also make sure no other Docker containers are currently running.
Check with
$ docker ps
Stop any running containers
$ docker stop $(docker ps -aq)
Please clone into directoy that is already bind with docker.
$ git clone [email protected]:khinmayoo/laravel-with-docker.git
$ cd laravel-with-docker
$pwd
$ docker run --rm -v ($pwd):/app composer install
$docker-compose up -d
That's it!