FROM node:18-slim

WORKDIR /app
RUN npm install smtp-server nodemailer
COPY index.js .

EXPOSE 2525

CMD ["node", "index.js"]