Files
fedora-infra_ansible/roles/openshift-apps/fmn/templates/Dockerfile-sendria
Aurélien Bompard e4deeb7731 Comment the FMN playbook and role
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-04-11 11:53:35 +02:00

11 lines
441 B
Plaintext

# Sendria expects the container to run as root
# https://github.com/msztolcman/sendria/issues/17
FROM msztolcman/sendria:v2.2.2.0
RUN chmod 0755 .local .local/lib/python*/site-packages/
RUN mkdir -p .config/sendria
RUN echo "[sendria]" > .config/sendria/config.toml
RUN mkdir data
ENV HOME=/home/sendria
ENTRYPOINT [ "/home/sendria/.local/bin/sendria", "--foreground", "--db=./data/mails.sqlite", "--smtp-ip=0.0.0.0", "--http-ip=0.0.0.0" ]