b149882c34
* 🌟Synchronization of the user with LDAP
16 lines
363 B
Docker
16 lines
363 B
Docker
# 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"]
|