Dockerfile 304 B

12345678910111213
  1. FROM ubuntu:26.04
  2. ENV DEBIAN_FRONTEND=noninteractive
  3. RUN apt-get update \
  4. && apt-get install -y --no-install-recommends ca-certificates postfix libsasl2-modules \
  5. && rm -rf /var/lib/apt/lists/*
  6. COPY entrypoint.sh /entrypoint.sh
  7. RUN chmod +x /entrypoint.sh
  8. EXPOSE 25
  9. ENTRYPOINT ["/entrypoint.sh"]