Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (18 sloc) 644 Bytes
# decking: build as makeusabrew/nodeflakes
FROM makeusabrew/zeromq
MAINTAINER Nick Payne <>
RUN apt-get update
# some node modules (e.g. zmq) need python to install properly
RUN apt-get install -y software-properties-common python
RUN add-apt-repository -y ppa:chris-lea/node.js
RUN apt-get update
RUN apt-get install -y nodejs
# this file will need moving to the project root for this to work!
ADD . /nodeflakes
WORKDIR /nodeflakes
# remove all node modules in case they were compiled against a
# different version of node
RUN rm -fr node_modules
# and then get a nice clean install
RUN npm install --production