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