containers/postfix/Dockerfile
Stefan Harmuth 7e54796d6e
All checks were successful
Build OCI Containers / Build Containers (push) Successful in 1m7s
try replacing config tags with environment variables
2024-03-09 16:37:02 +01:00

16 lines
335 B
Docker

FROM debian:bookworm-slim
COPY entrypoint.sh /entrypoint.sh
RUN apt-get update && \
apt-get -y upgrade && \
apt-get -y --purge autoremove && \
apt-get -y install postfix postfix-pgsql postgrey && \
apt-get -y clean && \
chmod a+x /entrypoint.sh
EXPOSE 25/tcp
EXPOSE 465/tcp
EXPOSE 587/tcp
CMD ["/entrypoint.sh"]