Merge pull request #383 from alen12345/ldapauth-docker

Added ldapauth support to docker
This commit is contained in:
Gerard Krol (Zermelo) 2018-02-13 16:57:56 +01:00 committed by GitHub
commit 1aea2d6b3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,10 +4,10 @@ FROM node:8.6
COPY ./package.json ./app/
WORKDIR /app/
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
# to download and install all the NPM dependencies every time there's a change in the source code
COPY . /app
EXPOSE 3000
ENTRYPOINT ["bash", "/app/docker-entrypoint.sh"]
CMD ["node", "index.js"]
CMD ["node", "index.js"]