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
1 changed files with 3 additions and 0 deletions

View File

@ -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