Files
workavia-drive/tdrive/docker/tdrive-ldap-sync/Dockerfile
T
Anton Shepilov b149882c34 🌟 Synchronization of the user with LDAP (#185)
* 🌟Synchronization of the user with LDAP
2023-09-06 18:47:54 +02:00

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"]