cloudnet-compose/result-app/Dockerfile

17 lines
280 B
Docker
Raw Normal View History

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