mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
ac0a9d02bd
Having dev containers makes its easier, faster and secure to setup the dev environment for the repository. The pull request consists of: - .devcontainer folder with: - **devcontainer.json :** (minimal necessary vscode extensions and settings) - **docker-compose.yaml :** (could be modified to run necessary services as per need. Ex vectordbs, databases) - **Dockerfile:**(non root with dev tools) - Changes to README - added the Open in Github Codespaces Badge - added the Open in dev container Badge Co-authored-by: Jinto Jose <129657162+jj701@users.noreply.github.com>
34 lines
1.1 KiB
JSON
34 lines
1.1 KiB
JSON
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile
|
|
{
|
|
"dockerComposeFile": "./docker-compose.yaml",
|
|
"service": "langchain",
|
|
"workspaceFolder": "/workspaces/langchain",
|
|
"name": "langchain",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ms-python.python"
|
|
],
|
|
"settings": {
|
|
"python.defaultInterpreterPath": "/home/vscode/langchain-py-env/bin/python3.11"
|
|
}
|
|
}
|
|
|
|
},
|
|
|
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
"features": {},
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
// "forwardPorts": [],
|
|
|
|
// Uncomment the next line to run commands after the container is created.
|
|
// "postCreateCommand": "cat /etc/os-release",
|
|
|
|
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
|
|
// "remoteUser": "devcontainer"
|
|
"remoteUser": "vscode",
|
|
"overrideCommand": true
|
|
}
|