Dockerfile 311 B

1234567891011121314151617
  1. FROM debian:8
  2. RUN apt-get update && apt-get install -yq git wget tmux vim nodejs npm
  3. RUN npm install -g n
  4. RUN n stable
  5. WORKDIR /opt/datasource
  6. COPY index.js /opt/datasource/index.js
  7. COPY package.json /opt/datasource/package.json
  8. EXPOSE 8000
  9. RUN npm install -g nodemon
  10. CMD npm install && nodemon index.js