FROM node:22-alpine
WORKDIR /app
COPY package.json ./
COPY server ./server
USER node
ENV PORT=8080
EXPOSE 8080
CMD ["node", "server/server.mjs"]
