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

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

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