https://www.boundaryml.com logo
🟡 Including libbaml-cffi in a container build
# questions
v
Is there a simple way to include libbaml-cffi in a container build so it doesn't have to be downloaded every time the container is run?
v
If you run baml-cli generate in the container it should install it!
Into the docker image
v
Oh that makes sense, I have a 2 step docker build so it isnt copied over. Is it in /usr/lib?
v
ah got it. In that case you can also just run
baml-cli --version
in the second image and it will also generate it as well
download path can be controlled easily configuring:
BAML_CACHE_DIR
to the directory you wanna save it into
you'll need to configure it on both however
we should update our docs to detail this out a lot better 🥲
v
okay thank you!