this one causes trouble when running micro-cli in prooph/docker:7.1-cli docker image to install a php-service.
The service is installed in vendor/prooph/micro-cli/service so basically the directory of the micro cli script and not the working dir that is mounted into the container.
Here is the full command I've executed:
docker run --rm -it -v $(pwd):/app -u 1001 -w /app prooph/php:7.1-cli php vendor/bin/micro micro:create:php-service
Set up was done with:
docker run --rm -it -v $(pwd):/app -u 1001 -w /app prooph/php:7.1-cli php vendor/bin/micro micro:setup /app
Note: set up command worked correctly because I've specified the target directory explicitly
this one causes trouble when running micro-cli in prooph/docker:7.1-cli docker image to install a php-service.
The service is installed in
vendor/prooph/micro-cli/serviceso basically the directory of the micro cli script and not the working dir that is mounted into the container.Here is the full command I've executed:
docker run --rm -it -v $(pwd):/app -u 1001 -w /app prooph/php:7.1-cli php vendor/bin/micro micro:create:php-serviceSet up was done with:
docker run --rm -it -v $(pwd):/app -u 1001 -w /app prooph/php:7.1-cli php vendor/bin/micro micro:setup /appNote: set up command worked correctly because I've specified the target directory explicitly