@inquir/compute-cliv0.3.0 · Node.js 22+
Usage#
inquir apps buildbash
inquir apps build <app> [options]
Options#
| Option | Description |
|---|---|
--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=VALUE | Pass a Docker build argument; repeatable. |
--force | Request a new build instead of reusing a matching successful build. |
--json | Print 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>.