Alpine Linux docker image with Node JS set up with "node" as entrypoint.
349
Alpine Linux docker image with Node JS set up with "node" as entrypoint.
$ docker run --rm -it -v $(pwd):/data jimlei/alpine-nodejs -v
$ docker run --rm -it --entrypoint="npm" -v $(pwd):/data jimlei/alpine-nodejs -v
Add to ~/.bashrc
alias node='docker run --rm -it -v $(pwd):/data jimlei/alpine-nodejs'
alias npm='docker run --rm -it --entrypoint="npm" -v $(pwd):/data jimlei/alpine-nodejs'
Load the changes
$ source ~/.bashrc
Usage
$ node -v
$ npm -v
Content type
Image
Digest
Size
11.7 MB
Last updated
over 8 years ago
docker pull jimlei/alpine-nodejs