mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-20 13:54:48 +00:00
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: <img width="866" alt="image" src="https://github.com/user-attachments/assets/10db1b50-6fcf-4dfe-83e1-d93c96aa2317">
This commit is contained in:
parent
37b89fb7fc
commit
7ab82eb8cc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user