This website requires JavaScript.
Explore
Help
Register
Sign In
Archives
/
langchain
Watch
2
Star
0
Fork
1
You've already forked langchain
mirror of
https://github.com/hwchase17/langchain
synced
2024-11-08 07:10:35 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
615812581e
langchain
/
.dockerignore
6 lines
55 B
Plaintext
Raw
Normal View
History
Unescape
Escape
feat: add Dockerfile to run unit tests in a Docker container (#2188) This makes it easy to run the tests locally. Some tests may not be able to run in `Windows` environments, hence the need for a `Dockerfile`. The new `Dockerfile` sets up a multi-stage build to install Poetry and dependencies, and then copies the project code to a final image for tests. The `Makefile` has been updated to include a new 'docker_tests' target that builds the Docker image and runs the `unit tests` inside a container. It would be beneficial to offer a local testing environment for developers by enabling them to run a Docker image on their local machines with the required dependencies, particularly for integration tests. While this is not included in the current PR, it would be straightforward to add in the future. This pull request lacks documentation of the changes made at this moment.
2023-04-01 16:00:09 +00:00
.venv
fix: tests with Dockerfile (#2382) Update the Dockerfile to use the `$POETRY_HOME` argument to set the Poetry home directory instead of adding Poetry to the PATH environment variable. Add instructions to the `CONTRIBUTING.md` file on how to run tests with Docker. Closes https://github.com/hwchase17/langchain/issues/2324
2023-04-04 13:47:19 +00:00
.github
.git
.mypy_cache
.pytest_cache
Dockerfile
Reference in New Issue
Copy Permalink