docker-comnpose up -d
- Browse to
http://localhost:10000
- Create a json file called
config.js
in the root with your commands.
{
"app": [
"composer install"
]
}
The property names are the container names, and the value is an array with available commands.
docker run -it -v ${PWD}:/app -u="1000:1000" -w="/app" node:12 bash