🌟 Synchronization of the user with LDAP (#185)
* 🌟Synchronization of the user with LDAP
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user