Dockerfile 180 B

123456789101112131415
  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. RUN npm install
  8. EXPOSE 80
  9. CMD npm run docker:dev