phpmentors-jp/docker-images

Project creation with composer when running a container

Closed this issue · 0 comments

Running a container with a new project creation

docker run --name <name> -v /path/to/php-app:/var/app -e APP_CREATE_PROJECT="symfony/framework-standard-edition" -d phpmentors/php-app:php55

Running a container with a new project creation with the specified version

docker run --name <name> -v /path/to/php-app:/var/app -e APP_CREATE_PROJECT="symfony/framework-standard-edition" -e APP_CREATE_PROJECT_VERSION="2.3.*" -d phpmentors/php-app:php55