14 lines
590 B
Docker
14 lines
590 B
Docker
# Custom Roundcube image: official image + repo config files (secrets from env at runtime).
|
|
ARG RC_VERSION=latest
|
|
FROM roundcube/roundcubemail:${RC_VERSION}
|
|
|
|
# Main config (config.inc.php, config.smtp.inc.php)
|
|
COPY config/*.php /var/roundcube/config/
|
|
|
|
# Plugin configs
|
|
COPY plugins/enigma/config.inc.php /var/www/html/plugins/enigma/config.inc.php
|
|
COPY plugins/managesieve/config.inc.php /var/www/html/plugins/managesieve/config.inc.php
|
|
COPY plugins/password/config.inc.php /var/www/html/plugins/password/config.inc.php
|
|
|
|
# Official image ENTRYPOINT/CMD unchanged; no .env or secrets copied
|