2016-05-04 04:35:26 +02:00
|
|
|
FROM node:5.11.0-slim
|
2015-11-15 20:59:29 +01:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
ADD package.json /app/package.json
|
2016-04-25 20:28:21 +02:00
|
|
|
RUN npm config set registry http://registry.npmjs.org
|
2015-11-15 20:59:29 +01:00
|
|
|
RUN npm install && npm ls
|
|
|
|
RUN mv /app/node_modules /node_modules
|
|
|
|
|
|
|
|
ADD . /app
|
|
|
|
|
|
|
|
ENV PORT 80
|
|
|
|
EXPOSE 80
|
|
|
|
|
|
|
|
CMD ["node", "server.js"]
|