Sign inSign up

grgichtran/node-zmq

By grgichtran

•Updated over 9 years ago

ZeroMQ with node.js bindings ready for your project.

Image
1

949

grgichtran/node-zmq repository overview

⁠node-zmq

ZeroMQ with node.js bindings ready for your project.

  • Alpine 3.5
  • Node.js 6.10.0 LTS

⁠Example Dockerfile for 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

Tag summary

Content type

Image

Digest

Size

75.2 MB

Last updated

over 9 years ago

docker pull grgichtran/node-zmq