This is the CERN Document Server source code overlay for InvenioILS.
To update Python dependencies you need to run npm install in the target deployment environment:
$ docker run -it --platform="linux/amd64" --rm -v $(pwd):/app -w /app \
registry.cern.ch/inveniosoftware/almalinux:1 \
sh -c "dnf install -y openldap-devel && pip install -e . && pip freeze > requirements.new.txt"
To update JS dependencies you need to run npm install in the target deployment environment:
$ cd ui
$ rm -rf package-lock.json node_modules
# Run the container with x86_64 architecture and install packages
$ docker run -it --platform="linux/amd64" --rm -v $(pwd):/app -w /app node:14-alpine sh -c "npm install"