FROM roundcube/roundcubemail:latest-apache

COPY docker-override.inc.php /var/www/html/config/docker-override.inc.php
COPY managesieve.config.inc.php /managesieve.config.inc.php
COPY entrypoint.sh /entrypoint-custom.sh

RUN chmod +x /entrypoint-custom.sh

ENTRYPOINT ["/entrypoint-custom.sh"]
CMD ["apache2-foreground"]
