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
|
|
|
|
CMD ["/opt/docker/bin/usr-bin/docker-service-enable", "postfix"]
|
|
|
|
|
2020-07-20 17:25:01 +02:00
|
|
|
#restart apache
|
|
|
|
RUN service apache2 restart
|
|
|
|
|
|
|
|
# export ports
|
|
|
|
EXPOSE 80 443
|