123456789101112131415161718 |
- FROM debian:8
- RUN apt-get update && apt-get install -yq git wget tmux vim nodejs npm
- RUN npm install -g n
- RUN n stable
- WORKDIR /opt/datasource
- COPY index.js /opt/datasource/index.js
- COPY package.json /opt/datasource/package.json
- EXPOSE 8000
- RUN npm install -g nodemon
- RUN npm install
- CMD nodemon index.js
|