10 lines
385 B
Docker
10 lines
385 B
Docker
|
|
FROM debian:bookworm-slim
|
||
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
||
|
|
RUN apt-get update && apt-get install -y --no-install-recommends opendkim opendkim-tools sqlite3 ca-certificates && rm -rf /var/lib/apt/lists/*
|
||
|
|
COPY opendkim.conf /etc/opendkim.conf
|
||
|
|
COPY TrustedHosts /etc/opendkim/TrustedHosts
|
||
|
|
COPY entrypoint.sh /entrypoint.sh
|
||
|
|
RUN chmod +x /entrypoint.sh
|
||
|
|
EXPOSE 8891
|
||
|
|
CMD ["/entrypoint.sh"]
|