salix/services/production/Dockerfile

16 lines
176 B
Docker

FROM node:6.9.1
COPY production /app
COPY loopback /loopback
WORKDIR /app
RUN npm install
RUN npm -g install pm2
CMD ["pm2-docker", "./server/server.js"]
EXPOSE 3004