automation/wordpress/php/Dockerfile

11 lines
246 B
Text
Raw Normal View History

FROM wordpress:apache
RUN apt-get update; \
apt-get install -y --no-install-recommends msmtp; \
rm -rf /var/lib/apt/lists/*
RUN echo "sendmail_path = /usr/sbin/msmtp -t " > /usr/local/etc/php/conf.d/sendmail.ini
COPY ./msmtprc /etc/msmtprc