FROM docker.io/library/node:22-alpine

WORKDIR /app
COPY server.js index.html ./

ENV PORT=8080
EXPOSE 8080
USER node
CMD ["node", "server.js"]
