@nx/node:setup-docker

Nx Node Docker Options Schema.

Usage

1nx generate setup-docker ... 2

By default, Nx will search for setup-docker in the default collection provisioned in workspace.json.

You can specify the collection explicitly as follows:

1nx g @nx/node:setup-docker ... 2

Show what will be generated without writing to disk:

1nx g setup-docker ... --dry-run 2

Options

project

string

The name of the project

buildTargetName

string
Default: build

The name of the build target

outputPath

string

The output path for the node application

targetName

string
Default: docker-build

The name of the target to create