ezgh deploy detect [dir]Say how Deploy builds a service whose source has no Dockerfile: the language and version, the package manager and framework, the install, build and start commands, the base image and the port, with the reason for each choice. The directory is the one named, else --dir.
A service’s build keys in EZGHDeploy (installCommand, buildCommand, startCommand) override what is detected; this shows detection alone.
Part of ezgh deploy.
Examples
ezgh deploy detect
ezgh deploy detect services/web --jsonFlags
Inherited from parent commands:
| Flag | Type | Default | Description |
|---|---|---|---|
--dir |
string | . |
the repository’s checkout (any directory inside it) |
--json |
boolean | print JSON, as -o json does |
This command also takes the global flags.