FROM node:24-slim

COPY package*.json ./
RUN npm install

COPY . .
RUN npm run init

CMD [ "node", "dist" ]
