2026-10-11 20:22:37 +02:00
|
|
|
# MAS live-test MX for mas.coulomb.social (MAS-WP-0003).
|
|
|
|
|
# Build from the repo root: docker build -f deploy/railiance/Dockerfile .
|
|
|
|
|
FROM debian:bookworm-slim
|
|
|
|
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
2026-10-18 22:38:43 +02:00
|
|
|
postfix libsasl2-modules opendkim opendmarc publicsuffix python3 python3-jsonschema ssl-cert ca-certificates && rm -rf /var/lib/apt/lists/*
|
2026-10-11 20:22:37 +02:00
|
|
|
RUN useradd -r -s /usr/sbin/nologin mas
|
|
|
|
|
COPY mas_core /app/mas_core
|
|
|
|
|
COPY mas_gateway /app/mas_gateway
|
|
|
|
|
COPY examples /app/examples
|
|
|
|
|
COPY experiments/postfix-probe/capture.py /app/capture.py
|
2026-10-19 09:25:03 +02:00
|
|
|
COPY integrations /app/integrations
|
2026-10-11 20:22:37 +02:00
|
|
|
COPY deploy/railiance/entrypoint.sh /entrypoint.sh
|
|
|
|
|
ENV PYTHONPATH=/app
|
|
|
|
|
EXPOSE 25 8080
|
|
|
|
|
ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]
|
|
|
|
|
CMD ["mx"]
|