@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
Nx 15 and lower use @nrwl/ instead of @nx/

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

targetName

string
Default: docker-build

The name of the target to create