FROM node:24.12.0-alpine

RUN apk add --no-cache curl

RUN npm install pm2 -g

WORKDIR /usr/src/app

COPY ./dist .

RUN npm install --omit=dev

EXPOSE 1401

CMD ["npm", "run", "start"]
