From 6b05a01f5b31823af58890f705571618094f1c0d Mon Sep 17 00:00:00 2001 From: Carlos Mogas da Silva Date: Tue, 19 Jun 2018 18:30:10 +0100 Subject: [PATCH] Cleanup npm install command --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 60ba3b4..769450d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,9 +29,12 @@ USER node ENV NPM_CONFIG_PREFIX=/home/node/.npm-global ENV PATH=$PATH:/home/node/.npm-global/bin -RUN npm -g install Haraka haraka-net-utils haraka-plugin-rspamd haraka-plugin-rcpt-ldap https://github.com/haraka/haraka-plugin-auth-ldap.git -# && 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 +RUN npm -g install \ + Haraka \ + haraka-net-utils \ + haraka-plugin-rspamd \ + haraka-plugin-rcpt-ldap \ + https://github.com/haraka/haraka-plugin-auth-ldap.git USER root