Adding external libraries

Hello!Can we add to rasa x external libraries to rasa x statically.I mean every time when I do docker-compose down then docker compose up -d rasa x downloads external libraries listed in Dockerfile.I want to make it statically so it does not download libraries every time.For example when I use rasa I install all python libraries using pip install ____ to that environment where I run my project. I install it once and don’t install it again every time when I use rasa shell,so my question is can we do same thing in rasa x. For example I use pip install transformers in Dockerfile can I add it do rasa x and don’t download every time when I turn off and turn on docker containers?I have 8 external libraries and it will be good if I just install them once and run every time

@akelad

Docker should take care of this if you set up the Dockerfile correctly. If you are using a requirements.txt file check out this medium post.

You can also define all the packages directly in the Docker file, e.g.:

RUN pip install python-dateutil

Docker won’t reinstall packages that are already at the latest version.