Closed JCourt1 closed 2 months ago
Can this be fixed by adding dockerfile_lines
to the configuration file? https://langchain-ai.github.io/langgraph/cloud/reference/cli/#configuration-file
Closing issue for now, dockerfile_lines
can be used to install missing dependencies
When installing requirements, I am running into an error where certain wheels fail to build. Basically, the docker build doesn't have access to tools like
gcc
that are required for building these wheels.Specifically seeing this for
psutil
andargon2-cffi
but the problem is a general one.I can't just delete the requirements like
psutil
that require building wheels, because my langgraph graph lives inside a django app, and has logic that requires accessing models etc. basically fully plugged in to the django app. I think this same problem could bite anyone whose langgraph graph requires the context of a complex app.Here is the relevant part of the error logs:
Possible solution
I think it might be enough to allow passing arguments to the
pip install
that gets called in the docker build:If we could pass
--no-binary
then it would just build from sources and might work?