FROM node:6.9.1
 
COPY . /app

WORKDIR /app  
 
RUN npm install  

RUN npm -g install pm2

CMD ["pm2-docker", "."]  

EXPOSE 3002