-
Notifications
You must be signed in to change notification settings - Fork 14k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dockerfile issues when trying to build the repo using .devcontainer #14631
Comments
🤖 It's great to hear that you were able to identify the issue and come up with a solution for the Dockerfile problem. Your initiative to fix the relative paths in pyproject.toml and ensure that the core and community directories are properly copied over in the dev.Dockerfile is commendable. Creating a pull request with your proposed changes would be a valuable contribution to the LangChain project. It's important to ensure that the changes don't affect any other files, as you mentioned. Once you've confirmed that, feel free to proceed with creating the PR. Thank you for your willingness to contribute to LangChain! If you have any further questions or need assistance with the PR creation process, feel free to ask. This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
@SavvasMohito I just ran into the same issue. Are you planning on making a pull request? Thanks! |
Hi @aduston, yes I'll have a look at it this week and try to come up with a PR. Thanks for reminding me 😄 |
Fix for issue langchain-ai#14631 - dev container doesnt build
- **Description:** Fix for issue #14631 - **Issue:** This fixes [Issue #14631](#14631) - **Twitter handle:** [@consultchrisq ](https://twitter.com/consultchrisq?lang=en)
System Info
Hello, after forking and cloning the repo on my machine, I tried to open it using docker and specifically in VS Code with the option to "Reopen in Container". While building, the final command of dev.Dockerfile resulted in the following error:
After investigating, I found out that the issue lies in pyproject.toml which is using relative paths like
../core
and../community
in some occasions. Additionally, even after replacing../
withlibs/
(which I am not sure if it breaks something else), the actualcore
andcommunity
directories are never copied over in dev.Dockerfile. These should also be copied in the created docker container, similarly to line 41.After making these two changes, the container was successfully built. I'll check out whether the change of paths in pyproject.toml is affecting any other files, and if not I will create a PR for this.
Who can help?
No response
Information
Related Components
Reproduction
Steps to reproduce:
Expected behavior
Build the development docker container without errors
The text was updated successfully, but these errors were encountered: