FROM node:22-alpine

WORKDIR /app

COPY . .

RUN npm install

RUN npx next build

CMD ["npx", "next", "start", "--hostname", "0.0.0.0"]
