diff --git a/Dockerfile b/Dockerfile index 46f106a..01bd09c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,7 +34,9 @@ RUN npm -g install Haraka \ && npm -g install haraka-net-utils \ && npm -g install haraka-plugin-rspamd \ && npm -g install haraka-plugin-auth-ldap \ - && npm -g install haraka-plugin-rcpt-ldap + && npm -g install haraka-plugin-rcpt-ldap \ + && rm -f /home/node/.npm-global/lib/node_modules/Haraka/plugins/auth/auth_ldap.js \ + && rm -f /home/node/.npm-global/lib/node_modules/Haraka/plugins/rcpt_tp.ldap.js USER root