From 7ab82eb8ccf48f03ae7eaa53bd7abca51bd73fa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=82=A8=EA=B4=91=EC=9A=B0?= Date: Mon, 22 Jul 2024 22:46:38 +0900 Subject: [PATCH] langchain: Copy libs/standard-tests folder when building devcontainer (#24470) ### Description * Fix `libs/langchain/dev.Dockerfile` file. copy the `libs/standard-tests` folder when building the devcontainer. * `poetry install --no-interaction --no-ansi --with dev,test,docs` command requires this folder, but it was not copied. ### Reference #### Error message when building the devcontainer from the master branch ``` ... [2024-07-20T14:27:34.779Z] ------ > [langchain langchain-dev-dependencies 7/7] RUN poetry install --no-interaction --no-ansi --with dev,test,docs: 0.409 0.409 Directory ../standard-tests does not exist ------ ... ``` #### After the fix Build success at vscode: image --- libs/langchain/dev.Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/langchain/dev.Dockerfile b/libs/langchain/dev.Dockerfile index 832e2a8cdbf..527248483fd 100644 --- a/libs/langchain/dev.Dockerfile +++ b/libs/langchain/dev.Dockerfile @@ -56,5 +56,8 @@ COPY libs/text-splitters/ ../text-splitters/ # Copy the partners library for installation COPY libs/partners ../partners/ +# Copy the standard-tests library for installation +COPY libs/standard-tests ../standard-tests/ + # 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