Sign inSign up

tvrbo/node-zmq

By tvrbo

•Updated almost 10 years ago

ZMQ-powered NodeJS environment, running on Alpine Linux

Image
0

109

tvrbo/node-zmq repository overview

Use this setup to run a NodeJS server with the ZMQ native bindings already available.

⁠Example Dockerfile for your project

FROM tvrbo/node-zmq:6.9.1

MAINTAINER Jordi Moraleda <[email protected]>

WORKDIR /app
ADD . /app

RUN npm install -g nodemon \
	&& npm link zmq \
	&& npm install --production

CMD nodemon -L -d 1 server.js

NOTE: Run npm link zmq before you install any Node package. Do not install it directly (this saves ~200mb of space).

NOTE: If you mount your project's folder as a volume inside the container, you may run into issues with the native ZMQ bindings. Make sure you clean your local node_modules folder before.

Tag summary

Content type

Image

Digest

Size

19.7 MB

Last updated

almost 10 years ago

docker pull tvrbo/node-zmq:6.9.1