Skip to Content
CLI & APICommand reference

stackblaze inspect

Analyze cwd or a public git URL for deployment planning

Usage: stackblaze inspect [options] [repository]

Analyze cwd or a public git URL for deployment planning

Options:
  --branch <name>        Git branch to inspect
  --json                 Output JSON (default: false)
  -o, --output <format>  Output format: text or json (choices: "text", "json")
  -h, --help             Print help

Example

See how StackBlaze would deploy a folder before you run stackblaze up. This one has a Dockerfile that exposes port 8080:

cd shop-api
cat Dockerfile
stackblaze inspect
FROM nginxinc/nginx-unprivileged:1.27-alpine
COPY index.html /usr/share/nginx/html/
EXPOSE 8080
Repo type: single
app  context=.  dockerfile=Dockerfile  port=8080

A public git URL works too:

stackblaze inspect https://github.com/stackblaze/react-vite-starter
Repo type: git-only
No Dockerfile or compose file — deploys as one app built from source (git mode, railpack by default).

On this page