From 9139f7529d42bc21ea2675c0d44a7ea0562cf1ce Mon Sep 17 00:00:00 2001 From: Stefan H Date: Sat, 1 Aug 2020 16:35:11 +0200 Subject: [PATCH] Added command to enable postfix/sendmail command --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index ab712a8..8ead225 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,9 @@ FROM webdevops/php-apache:7.4 RUN apt-get update RUN apt-get install -y librsvg2-bin +# enable postfix to be able to send mails +CMD ["/opt/docker/bin/usr-bin/docker-service-enable", "postfix"] + #restart apache RUN service apache2 restart