Skip to content

The agent engineering platform.

langchain: Fix for issue #14631 - .devcontainer doesnt build (#15251)

Christopher Queend5e1725ace3b
diff --git a/libs/langchain/dev.Dockerfile b/libs/langchain/dev.Dockerfile
index 4c7fc9c21e..c36cc03044 100644
--- a/libs/langchain/dev.Dockerfile
+++ b/libs/langchain/dev.Dockerfile
@@ -40,5 +40,11 @@ COPY libs/langchain/pyproject.toml libs/langchain/poetry.toml ./
# Copy the langchain library for installation
COPY libs/langchain/ libs/langchain/
+# Copy the core library for installation
+COPY libs/core ../core
+
+# Copy the community library for installation
+COPY libs/community/ ../community/
+
# Install the Poetry dependencies (this layer will be cached as long as the dependencies don't change)
-RUN poetry install --no-interaction --no-ansi --with dev,test,docs
\ No newline at end of file
+RUN poetry install --no-interaction --no-ansi --with dev,test,docs