FROM node:22-slim WORKDIR /var/www/html # Source is bind-mounted at runtime; install on start so package.json changes # are picked up without a rebuild, then run the Next.js dev server. CMD npm install --legacy-peer-deps && npm run dev -- -H 0.0.0.0