Based on Alpine for ARM this image delivers a running instance of Node.js
1.1K
Based on Alpine for ARM this image delivers a running instance of Node.js.
You should run this container on the background and mount a volume to provide your nodejs content.
There are no volumes exported but you can use /usr/src/app to a volume where you can provide nodejs content. If you do so you might also want to set the work directory accordingly via the -w option, like in the examples below.
To get the container up and running:
sudo docker run -it --rm --name some-script -v "$PWD":/usr/src/app -w
/usr/src/app rlogiacco/rpi-node node some-script.js
If you have a daemon script and you want to leave it running in background
sudo docker run -d --name some-daemon -v "$PWD":/usr/src/app -w
/usr/src/app rlogiacco/rpi-node node daemon-script.js
Content type
Image
Digest
Size
19.8 MB
Last updated
over 9 years ago
docker pull rlogiacco/rpi-node