Skip to content

The agent engineering platform.

text-splitters, infra: fix `libs/langchain/dev.Dockerfile` so that the `text-splitter` directory is copied before poetry installation (#19214)

Shotaro Sanoca9c8c58ea6e
diff --git a/libs/langchain/dev.Dockerfile b/libs/langchain/dev.Dockerfile
index c36cc03044..696f8fdb02 100644
--- a/libs/langchain/dev.Dockerfile
+++ b/libs/langchain/dev.Dockerfile
@@ -46,5 +46,8 @@ COPY libs/core ../core
# Copy the community library for installation
COPY libs/community/ ../community/
+# Copy the text-splitters library for installation
+COPY libs/text-splitters/ ../text-splitters/
+
# 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