cloudnet-compose/result-app/Dockerfile
Ben Firshman df96dfd638 Add Node debugging
and simplify Compose file
2016-06-18 10:04:44 -07:00

17 lines
280 B
Docker

FROM node:5.11.0-slim
WORKDIR /app
RUN npm install -g nodemon
ADD package.json /app/package.json
RUN npm config set registry http://registry.npmjs.org
RUN npm install && npm ls
RUN mv /app/node_modules /node_modules
ADD . /app
ENV PORT 80
EXPOSE 80
CMD ["node", "server.js"]