Dockerfile 230 B

12345678910111213
  1. FROM node:8.9.1
  2. COPY package.json /opt/datasource/
  3. COPY index.js /opt/datasource/
  4. WORKDIR /opt/datasource
  5. RUN npm install -g pm2; \
  6. npm install; \
  7. rm -rf /var/lib/apt/lists/*
  8. CMD npm install; \
  9. pm2-docker index.js