add msmtp support

This commit is contained in:
Pau Capó 2023-11-20 20:31:16 +01:00
parent 6e9c884375
commit f33835ec24
5 changed files with 16 additions and 9 deletions

View file

@ -1,4 +1,5 @@
FROM php:8.0-apache
RUN a2enmod rewrite
RUN docker-php-ext-install pdo pdo_mysql
RUN apt-get update; apt-get install -y --no-install-recommends msmtp msmtp-mta; rm -rf /var/lib/apt/lists/*;
RUN [ ! -f /etc/msmtprc ] && touch /etc/msmtprc