Added ldapauth support to docker

This commit is contained in:
Alessio Nava 2018-02-13 14:54:17 +00:00
parent 3c36d298c4
commit e4d21e037a

View file

@ -4,7 +4,7 @@ FROM node:8.6
COPY ./package.json ./app/ COPY ./package.json ./app/
WORKDIR /app/ WORKDIR /app/
ENV NODE_ENV production ENV NODE_ENV production
RUN npm install --no-progress --production && npm install --no-progress passport-ldapjs RUN npm install --no-progress --production && npm install --no-progress passport-ldapjs passport-ldapauth
# Later, copy the app files. That improves development speed as buiding the Docker image will not have # Later, copy the app files. That improves development speed as buiding the Docker image will not have
# to download and install all the NPM dependencies every time there's a change in the source code # to download and install all the NPM dependencies every time there's a change in the source code
COPY . /app COPY . /app