FROM node:20-alpine
WORKDIR /app
COPY package.json server.js ./
ENV NODE_ENV=production
# The platform sets PORT; the relay listens on it. Set RELAY_SECRET and RELAY_ALLOWED_ORIGINS in its dashboard.
CMD ["node", "server.js"]
