ZMQ-powered NodeJS environment, running on Alpine Linux
109
Use this setup to run a NodeJS server with the ZMQ native bindings already available.
Dockerfile for your projectFROM 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.
Content type
Image
Digest
Size
19.7 MB
Last updated
almost 10 years ago
docker pull tvrbo/node-zmq:6.9.1