Dockerfile 199 B

12345678
  1. FROM node:16.14.2
  2. #ENV CHOKIDAR_USEPOLLING=true
  3. RUN mkdir -p /app
  4. WORKDIR /app
  5. COPY package.json .
  6. # RUN npm config set registry https://registry.npmmirror.com
  7. CMD npm i && npm run dev
  8. EXPOSE 9012