This image is based on evild/alpine-base
What is Node.js?
Node.js applications are designed to maximize throughput and efficiency, using non-blocking I/O and asynchronous events. Node.js applications run single-threaded, although Node.js uses multiple threads for file and network events. Node.js is commonly used for real-time applications due to its asynchronous nature.
Automated builds of the image are available on Dockerhub and is the recommended method of installation.
docker pull evild/alpine-nodejs:6.0.0
You can also pull the latest tag which is built from the repository HEAD.
docker pull evild/alpine-nodejs:latest
lts are also available.
docker pull evild/alpine-nodejs:current docker pull evild/alpine-nodejs:stable docker pull evild/alpine-nodejs:lts
Alternatively you can build the image locally.
docker build -t evild/alpine-nginx github.com/evild67/alpine-nginx
How to use this image
Checkout my exemple. It's easy :).
You can also do :
docker run -name alpine-nodejs-app evild/alpine-nodejs:exemple
App dependencies installation
You need to add first your package.json and then npm install. Docker use his cache when the package.json isn't changed. The build will be faster.
example tag is available
docker pull evild/alpine-nodejs:example
You can also checkout some projects build with this docker image :