Debian based container for running nodejs scripts
962
Debian based container for running nodejs scripts
$ docker run --rm -it -v $(pwd):/srv odiobill/nodejs nodejs yourscript.js
If you need to install any required npm module before running your scripts, avoid the nodejs command:
$ docker run --rm -it -v $(pwd):/srv odiobill/nodejs
root@b6b64d158e95:/srv# npm install q
[email protected] node_modules/q
root@b6b64d158e95:/srv# exit
$
Content type
Image
Digest
sha256:a353ffb54…
Size
150.6 MB
Last updated
about 11 years ago
docker pull odiobill/nodejs