Dockerfile 239 B

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