cloudnet-compose/result/Dockerfile
2017-11-21 13:48:10 -05:00

17 lines
277 B
Docker

FROM node:8.9-slim
WORKDIR /app
RUN npm install -g nodemon
ADD package.json /app/package.json
RUN npm config set registry http://registry.npmjs.org
RUN npm install && npm ls
RUN mv /app/node_modules /node_modules
ADD . /app
ENV PORT 80
EXPOSE 80
CMD ["node", "server.js"]