FROM node:22

WORKDIR /usr/src/app

COPY package*.json ./
RUN npm install --production

COPY . .

EXPOSE 8081
CMD ["node", "index.js"]
