node/npm/yarn image for working with nodejs applications
1.2K
node/npm/Yarn Docker image for installing dependencies & building nodejs applications, based on Alpine Linux.
While being at the root of your node project (where you would normally run node, npm or yarn), run any yarn command, for example:
# yarn install
docker run --rm -v $(pwd):/app zeroplusx/yarn
# custom commands like yarn build/start/prod etc.
docker run --rm -v $(pwd):/app zeroplusx/yarn build
docker run --rm -v $(pwd):/app zeroplusx/yarn start
docker run --rm -v $(pwd):/app zeroplusx/yarn prod
When you are done, just press CTRL+C and it will close and remove the Docker container.
Content type
Image
Digest
Size
48.4 MB
Last updated
almost 6 years ago
docker pull zeroplusx/yarn