Browse Source

Cleanup npm install command

master
Carlos Mogas da Silva 3 years ago
parent
commit
6b05a01f5b
  1. 9
      Dockerfile

9
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

Loading…
Cancel
Save