ZeroMQ with node.js bindings ready for your project.
949
ZeroMQ with node.js bindings ready for your project.
If you don't have any native dependencies, ie only depend on pure-JS npm modules, then my suggestion is to run npm install locally before running docker build (and make sure node_modules isn't in your .dockerignore) – then you don't need an npm install step in your Dockerfile and you don't need npm installed in your Docker image – so you can use one of the smaller base* images.
NOTE: Run npm link zmq before you install any Node package.
FROM grgichtran/node-zmq
EXPOSE 3000
WORKDIR ./
ADD . .
RUN npm link zmq && npm install
Content type
Image
Digest
Size
75.2 MB
Last updated
over 9 years ago
docker pull grgichtran/node-zmq