FROM node:16-alpine
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install glob rimraf
RUN npm install --only=development
COPY . .
CMD npx -y prisma generate ; npm run start:dev