Added command to enable postfix/sendmail command

This commit is contained in:
Stefan H. 2020-08-01 16:35:11 +02:00 committed by GitHub
parent 012401f2bc
commit 9139f7529d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,9 @@ FROM webdevops/php-apache:7.4
RUN apt-get update RUN apt-get update
RUN apt-get install -y librsvg2-bin 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 #restart apache
RUN service apache2 restart RUN service apache2 restart