Dockerfile.prod 158 B

1234567
  1. FROM node:16.14.2
  2. #ENV CHOKIDAR_USEPOLLING=true
  3. RUN mkdir -p /app
  4. WORKDIR /app
  5. COPY package.json .
  6. CMD npm ci && npm run build && npm run start
  7. EXPOSE 3000