Before you build
Your account needs Serve access and permission to push to the project. If remote builds are unavailable, contact Reactor.Build and deploy
From the folder containingreactor.yaml, deploy with hardware your model supports:
Terminal
reactor status production and reactor logs production --follow.
Define the image
The CLI uses the workspaceDockerfile when one is present.
Otherwise, it generates one from build: in reactor.yaml:
reactor.yaml (selected settings)
.dockerignore to exclude local environments, credentials, and checkpoints.
Push and deploy weights separately so code changes can reuse them.
Build without deploying
To save an image without changing an environment, choose a new tag for each build:Terminal
reactor image build is the same command as reactor build.
Reuse it without rebuilding:
Terminal
--gpu to keep its hardware.
Add --weights to select a weight set in the same deployment.
Tag stored artifacts
Use the digest from a build or push to name an existing image:Terminal
Build secrets
Supply credentials through build secrets. Keep credentials out of build arguments and the image.Resolve a remote build refusal
A remote build can fail before any build step runs. Read the failure reason in the deploy or build terminal. If it names a Dockerfile line and instruction, fix that instruction before retrying. Ifbuild: in reactor.yaml defines all the dependencies your image needs, generate the Dockerfile from those settings instead:
Terminal
--no-dockerfile flag belongs to reactor build, not reactor deploy.
Build locally
For local Docker builds, usereactor build. Add --push --tag NEW_TAG to store the result on the project.
To push an image already in your local Docker daemon, use reactor image push my-model:local --tag NEW_TAG.
Replace NEW_TAG with a new image tag.
Standalone builds require --remote to run on Reactor. See the build reference for other options.