2020-07-20 17:25:01 +02:00
|
|
|
FROM webdevops/php-apache:7.4
|
|
|
|
|
|
|
|
# want rsvg support too
|
|
|
|
RUN apt-get update
|
2020-10-22 06:44:37 +02:00
|
|
|
RUN apt-get install -y librsvg2-bin
|
|
|
|
|
|
|
|
# and lilypond to render notes/songs
|
|
|
|
RUN apt-get install -y lilypond
|
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-03 21:52:45 +02:00
|
|
|
RUN /opt/docker/bin/usr-bin/docker-service-enable postfix
|
|
|
|
RUN mkfifo /var/spool/postfix/public/pickup
|
|
|
|
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
|