FROM node:16
WORKDIR /app
COPY package.json .
COPY package-lock.json .
RUN npm ci
RUN npm run postinstall
COPY . .
CMD npm start