Skip to content
Docs

inquir apps build

Build an application image from a source snapshot without releasing it.

@inquir/compute-cliv0.3.0 · Node.js 22+

Usage#

inquir apps buildbash
inquir apps build <app> [options]

Options#

OptionDescription
--dir <path>Source directory to upload; defaults to the current directory.
--dockerfile <path>Dockerfile relative to the build context; defaults to Dockerfile.
--context <path>Build context inside the uploaded source tree; defaults to .
--target <stage>Select a stage in a multi-stage Dockerfile.
--build-arg KEY=VALUEPass a Docker build argument; repeatable.
--forceRequest a new build instead of reusing a matching successful build.
--jsonPrint machine-readable results.

Global flags, environments and CLI credentials

Examples#

Example 1bash
inquir apps build web
Example 2bash
inquir apps build web --dir ./api --target production

Behavior#

The command waits for the build. Release a successful build with apps deploy <app> --build <buildId>.

Guides#