# Zero-dependency mock API - no npm install, so the build needs no registry access.
FROM node:20-alpine
WORKDIR /app
COPY server.js ./
ENV PORT=5055
EXPOSE 5055
HEALTHCHECK --interval=10s --timeout=3s --retries=3 \
  CMD wget -q -O- http://127.0.0.1:5055/health || exit 1
CMD ["node", "server.js"]
