878cdeb583
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>
16 lines
207 B
Docker
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"]
|