# BuildSpec

> **Class** in `langgraph_cli`

📖 [View in docs](https://reference.langchain.com/python/langgraph-cli/deploy/BuildSpec)

## Signature

```python
BuildSpec(
    self,
    config: pathlib.Path,
    config_json: Config,
    base_image: str | None,
    api_version: str | None,
    pull: bool,
    docker_build_args: Sequence[str],
    install_command: str | None,
    build_command: str | None,
)
```

## Constructors

```python
__init__(
    self,
    config: pathlib.Path,
    config_json: Config,
    base_image: str | None,
    api_version: str | None,
    pull: bool,
    docker_build_args: Sequence[str],
    install_command: str | None,
    build_command: str | None,
) -> None
```

| Name | Type |
|------|------|
| `config` | `pathlib.Path` |
| `config_json` | `Config` |
| `base_image` | `str \| None` |
| `api_version` | `str \| None` |
| `pull` | `bool` |
| `docker_build_args` | `Sequence[str]` |
| `install_command` | `str \| None` |
| `build_command` | `str \| None` |


## Properties

- `config`
- `config_json`
- `base_image`
- `api_version`
- `pull`
- `docker_build_args`
- `install_command`
- `build_command`

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/736a18eaab6d80eed54d4c842c1297c8c87fef80/libs/cli/langgraph_cli/deploy.py#L1181)