Browse Source

Cleanup npm install command

master
parent
commit
6b05a01f5b
1 changed files with 6 additions and 3 deletions
  1. 6
    3
      Dockerfile

+ 6
- 3
Dockerfile View File

@@ -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