Update README.md

This commit is contained in:
Tat Dat Duong
2025-01-17 03:14:53 +01:00
parent 21b7c59ff5
commit e324c4e1ce
+11 -4
View File
@@ -28,6 +28,14 @@ Build a Docker image for your LangGraph.js application.
langgraph build
```
### `langgraph up`
Run LangGraph.js API server in Docker.
```bash
langgraph up
```
### `langgraph dockerfile`
Generate a Dockerfile for custom deployments
@@ -45,11 +53,10 @@ The CLI uses a `langgraph.json` configuration file with these key settings:
"graphs": {
"graph": "./src/graph.ts:graph" // Required: Graph definitions
},
"node_version": "20", // Optional: Node version (20 only at the moment)
"env": ".env", // Optional: Environment variables
"dockerfile_lines": [] // Optional: Additional Dockerfile commands
"node_version": "20", // Optional: Node version (20 only at the moment)
"env": ".env", // Optional: Environment variables
"dockerfile_lines": [] // Optional: Additional Dockerfile commands
}
```
See the [full documentation](https://langchain-ai.github.io/langgraph/cloud/reference/cli) for detailed configuration options.