Cloud API Overview > @adpt/cloud > nodejs > NodeImageBuildOptions > buildArgs
nodejs.NodeImageBuildOptions.buildArgs property
Environment variables that should be present during docker build
Signature:
buildArgs?: Environment;
Remarks
This adds an ARG <varName>
line to the Dockerfile for every variable in env, and sets the variable in the environment before running docker build
.