Dockerfile 194 B

123456789101112
  1. FROM node:15
  2. RUN npm install -g nodemon
  3. RUN mkdir -p /opt
  4. WORKDIR /opt
  5. ADD package.json /opt/package.json
  6. ADD package-lock.json /opt/package-lock.json
  7. RUN npm install
  8. CMD npm run docker:dev