Dockerfile 233 B

123456789101112131415
  1. FROM node:16.15
  2. RUN npm install -g nodemon
  3. RUN mkdir -p /opt/app
  4. WORKDIR /opt/app
  5. COPY package.json /opt/app/package.json
  6. COPY package-lock.json /opt/app/package-lock.json
  7. RUN npm install
  8. COPY . /opt/app
  9. CMD npm run docker:dev