FROM node:22-alpine
WORKDIR /app
COPY index.cjs ./
ENV PORT=8080
ENV MAIL_DIR=/mail
EXPOSE 8080
CMD ["node", "index.cjs"]
