nanoninja / docker-nginx-php-mysql

Docker running Nginx, PHP-FPM, MySQL & PHPMyAdmin
1.76k stars 866 forks source link

Laravel dev environment #32

Open victorvfx opened 6 years ago

victorvfx commented 6 years ago

I have been trying to get laravel working with this docker stack for past few days but nothing seems to working.

Things i've already tried.

  1. github clone https://github.com/laravel/laravel.git to /web/app and /web/public directory.

  2. Tried installing via composer to /web with this command in cmder "docker run --rm -v $(pwd)/web:/web composer create-project --prefer-dist laravel/laravel ./"

image

This seems to install the laravel package via composer but doesn't shows up in the /web directory.

owen800q commented 6 years ago

same problem here, nothing shown in directory after installation..

Rihoj commented 6 years ago

@victorvfx, @owen800q I had similar issues, I ended up creating a branch off of this the pull request can be found here: https://github.com/nanoninja/docker-nginx-php-mysql/pull/27