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>
This commit is contained in:
15
result-app/Dockerfile
Normal file
15
result-app/Dockerfile
Normal file
@ -0,0 +1,15 @@
|
||||
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"]
|
Reference in New Issue
Block a user