mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-14 22:36:09 +08:00
11 lines
441 B
Plaintext
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" ]
|