> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reactor.inc/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> To build and serve your own model, start at /deploy/development/quickstart and /deploy/development/overview. Authenticate with reactor auth login, scaffold with reactor init, then run reactor deploy production from the workspace. Deploy builds remotely by default, creates a missing workspace project and its production environment, and waits for rollout. No local Docker or model.version bump is needed. Projects own images and weight sets; environments select the image, weights, GPU, instance count, and variables. Create staging explicitly with reactor environment create staging before deploying to it. Use reactor scale for capacity and reactor rollback for an earlier revision’s image and weights. See /deploy/platform/projects and /deploy/platform/deploy. Client SDK modelName remains account-qualified and selects production by default. Model code imports reactor_runtime; Python client code imports reactor_sdk. Local testing is optional; /deploy/development/local-testing covers reactor run, which needs Docker.
> Reactor hosts multiple models, each with its own connect slug (modelName) and command/event schema. The video model catalog — slug, typed SDK package, and links to its schema — is at /model-api-reference/overview. Robotics policy documentation starts at /robotics/overview; The launch policies are Cosmos Nano DROID (/robotics/cosmos/nano-policy-droid/), DreamZero DROID (/robotics/dreamzero/droid/), and FLUX Action DROID (/robotics/flux-action/droid/), organized by model family and embodiment. Some models expose one slug per experience (e.g. HappyOyster); always take the slug from the model's own pages, never guess it.
> Fastest path to a working app: `npx create-reactor-app my-app --model=<slug>` scaffolds a complete app with secure auth wired up. Typed TypeScript SDKs are published as @reactor-models/<model>; Python uses the base reactor-sdk package.
> Auth: exchange an API key (rk_...) for a JWT via POST https://api.reactor.inc/tokens from your server. Never put the API key in client-side code.
> Append .md to any docs URL for clean Markdown. Search these docs via the MCP server at https://docs.reactor.inc/mcp.

# reactor image build

> Build the image; --push records it on the project (also reactor build)

```sh theme={"theme":{"light":"github-light","dark":"github-dark-high-contrast"}}
reactor image build [flags]
```

## Options

| Flag | Description |
| - | - |
| `--build-env <name>[=<value>]` | Override a build.build\_env value for this build (repeatable; a bare \<name> takes its value from the environment) |
| `--build-secret <id>[=@<path>]` | Build secret for remote and local builds (repeatable): \<id> prompts with no echo, \<id>=@- reads stdin, \<id>=@\<path> reads a file, and id=\<id>,env=\<var> or id=\<id>,src=\<path> uses Docker form; @- and @\<path> drop one trailing line ending |
| `-f, --dockerfile <path>` | Path to an explicit Dockerfile (relative to the workspace); defaults to the workspace ./Dockerfile when one exists |
| `--local` | Build the image with the local docker daemon (the default) |
| `--no-cache` | Pass `--no-cache` to docker build (rebuild every layer); local builds only |
| `--no-dockerfile` | Build from reactor.yaml, ignoring an on-disk Dockerfile |
| `--platform <os>/<arch>` | Target build platform (default linux/amd64). Overrides build.platform in reactor.yaml; an explicit 'FROM `--platform`=' in the Dockerfile still wins for that stage. |
| `-p, --project <org>/<name>\|<uuid>` | Project: \<org>/\<name> or a project UUID (default: REACTOR\_PROJECT, else the nearest reactor.yaml) |
| `--push` | Also push the image to the project on Reactor: the project in reactor.yaml, or the one `-p` names (`--remote` always does) |
| `--remote` | Build the image on the Reactor platform (linux/amd64 only) |
| `--tag <tag>` | Also put this tag on the image |

## Global options

| Flag | Description |
| - | - |
| `--server <url>` | Reactor API server URL (default "[https://api.reactor.inc](https://api.reactor.inc)") |
| `-v, --verbose` | Enable verbose output |

## See also

* [reactor image](https://docs.reactor.inc/deploy/cli-reference/reactor_image.md) - Build, push and tag images


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.