cloudnet-compose/vote-apps/result-app/Dockerfile

16 lines
207 B
Docker
Raw Normal View History

2015-11-15 20:59:29 +01:00
FROM node:0.10
RUN mkdir /app
WORKDIR /app
ADD package.json /app/package.json
RUN npm install && npm ls
RUN mv /app/node_modules /node_modules
ADD . /app
ENV PORT 80
EXPOSE 80
CMD ["node", "server.js"]