Dockerfile 311 B

123456789101112131415161718
  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. RUN npm install
  11. CMD nodemon index.js