FROM node:16-alpine

WORKDIR /app

COPY package.json .

RUN npm i

RUN mkdir node_modules/.cache && chmod -R 777 node_modules/.cache

COPY . .

CMD ["npm","start"]