docker run --name=node \
--rm \
-it \
~/.ssh:/root/.ssh \
/path/to/project:/src \
node:latest \
install
Read package.json to /src and install packages to /src/node_modules
docker run --name=node \
--rm \
-it \
~/.ssh:/root/.ssh \
/path/to/project:/src \
node:latest \
XXX
Execute binarie XXX present to /src/node_modules/.bin/XXX
Content type
Image
Digest
sha256:40017db78…
Size
138.4 MB
Last updated
over 9 years ago
docker pull huttopia/node