mail-address-semantics/deploy/railiance/Dockerfile
tegwick f18eb0b8df Add an on/off switch for the MAS facility.
MAS-WP-0007 is finished. power.sh scales the MX and statute together
and records the power annotation. apply.sh keeps an off facility off.
The live facility was annotated power=on and was not restarted.

Assistant: grok
Assistant-Session: 01a198fa-fd27-7e41-a0a2-57355c3e4efd
2026-11-01 22:46:46 +01:00

17 lines
796 B
Docker

# MAS facility image for mas.coulomb.social (MAS-WP-0007).
# 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 \
postfix libsasl2-modules opendkim opendmarc publicsuffix python3 python3-jsonschema ssl-cert ca-certificates && rm -rf /var/lib/apt/lists/*
RUN useradd -r -s /usr/sbin/nologin mas
COPY mas_core /app/mas_core
COPY mas_gateway /app/mas_gateway
COPY mas_modes /app/mas_modes
COPY examples /app/examples
COPY experiments/postfix-probe/capture.py /app/capture.py
COPY integrations /app/integrations
COPY deploy/railiance/entrypoint.sh /entrypoint.sh
ENV PYTHONPATH=/app
EXPOSE 25 8080
ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]
CMD ["mx"]