🌟 Synchronization of the user with LDAP (#185)

* 🌟Synchronization of the user with LDAP
This commit is contained in:
Anton Shepilov
2023-09-06 18:47:54 +02:00
committed by GitHub
parent 666f51efb0
commit b149882c34
8 changed files with 201 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
# Use an official Node.js runtime as the base image
FROM node:lts-alpine
# Set the working directory inside the container
WORKDIR /usr/src/app
# Copy app
COPY backend/utils/ldap-sync/*.json ./
COPY backend/utils/ldap-sync/src/** ./src/
COPY backend/utils/ldap-sync/.nvmrc ./
RUN npm i && npm run build
# Run the Node.js application
CMD ["npm", "run", "sync"]