2016-05-04 04:35:26 +02:00
|
|
|
FROM node:5.11.0-slim
|
2015-11-15 20:59:29 +01:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
2016-06-18 19:04:44 +02:00
|
|
|
RUN npm install -g nodemon
|
2015-11-15 20:59:29 +01:00
|
|
|
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"]
|