Dockerfile 201 B

12345678910111213141516
  1. FROM node
  2. RUN apt-get update
  3. RUN npm install -g nodemon
  4. RUN npm install -g snyk
  5. RUN mkdir -p /opt
  6. WORKDIR /opt
  7. ADD package.json /opt/package.json
  8. RUN npm install
  9. EXPOSE 80
  10. CMD npm run docker:dev