2020-07-20 17:25:01 +02:00
|
|
|
FROM webdevops/php-apache:7.4
|
|
|
|
|
|
|
|
# want rsvg support too
|
|
|
|
RUN apt-get update
|
2020-07-20 17:30:38 +02:00
|
|
|
RUN apt-get install -y librsvg2-bin
|
2020-07-20 17:25:01 +02:00
|
|
|
|
2020-08-01 16:35:11 +02:00
|
|
|
# enable postfix to be able to send mails
|
2020-08-01 16:55:03 +02:00
|
|
|
RUN /opt/docker/bin/usr-bin/docker-service-enable postfix
|
|
|
|
RUN mkfifo /var/spool/postfix/public/pickup
|
2020-08-01 16:47:40 +02:00
|
|
|
RUN service postfix restart
|
2020-08-01 16:35:11 +02:00
|
|
|
|
2020-07-20 17:25:01 +02:00
|
|
|
#restart apache
|
|
|
|
RUN service apache2 restart
|
|
|
|
|
|
|
|
# export ports
|
|
|
|
EXPOSE 80 443
|