Cloud API Overview > @adpt/cloud > nodejs > NodeImageBuildOptions
nodejs.NodeImageBuildOptions interface
Options controlling how the Docker image is built in nodejs.LocalNodeImage().
Signature:
export interface NodeImageBuildOptions extends DockerBuildOptions
Properties
Property | Type | Description |
---|---|---|
buildArgs | Environment | Environment variables that should be present during docker build |
packageManager | "npm" | "yarn" | string | Package manager to use in build steps in the generated Dockerfile that builds nodejs.LocalNodeImage(). |
runNpmScripts | string | string[] | Scripts that are defined in your package.json file that should be run during the image build. |