NebriBlackwing / LaravelDocker

Laravel 5.7 development environment within docker. 2 command setup.
http://www.codepassion.ca
MIT License
3 stars 0 forks source link

Could not find Composer.json #1

Open DrWalrus opened 5 years ago

DrWalrus commented 5 years ago

Error running step 2 in instructions through the Docker Quickstart Terminal.

Command:

docker run --rm -v /c/dockerapps/LaravelDocker:/app composer install

Error:

Composer could not find a composer.json file in /app To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section

System:

Windows 10 Home Docker Toolbox Running command in the Docker Quickstart Terminal

spetrey commented 5 years ago

Try running:

docker run --rm -v /c/dockerapps/LaravelDocker:/laravel/app composer install