Skip to content

The agent engineering platform.

Unbreak devcontainer (#8154)

Nolan7686dabd3633
diff --git a/libs/langchain/dev.Dockerfile b/libs/langchain/dev.Dockerfile
index 4383ecc895..3e07a676f1 100644
--- a/libs/langchain/dev.Dockerfile
+++ b/libs/langchain/dev.Dockerfile
@@ -37,5 +37,8 @@ ARG PYTHON_VIRTUALENV_HOME
# Copy only the dependency files for installation
COPY pyproject.toml poetry.toml ./
+# Copy the langchain library for installation
+COPY libs/langchain/ libs/langchain/
+
# 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
diff --git a/poetry.toml b/poetry.toml
new file mode 100644
index 0000000000..42159b2479
--- /dev/null
+++ b/poetry.toml
@@ -0,0 +1,5 @@
+[virtualenvs]
+in-project = true
+
+[installer]
+modern-installation = false