cloudnet-compose/result-app/Dockerfile
Ben Firshman 878cdeb583 Move everything into the root directory
The separate vote-apps directory was because networking didn't
used to support aliases to remove the project name.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2016-02-04 10:53:27 -08:00

16 lines
207 B
Docker

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"]