FROM node:18-alpine3.15

WORKDIR /app

COPY package.json ./

COPY package-lock.json ./

RUN npm update && npm install

COPY . .

CMD ["npm", "start"]