Class Docker<T>
Type parameters
Hierarchy
-
Deployer<T>
- Docker
Constructors
Properties
Methods
Constructors
-
Parameters
-
manager: DeploymentManager
-
Default value resources: T = undefined
Returns Docker
-
Properties
Methods
-
Returns string
-
Parameters
-
Default value localPath: string = "deployments"
-
Default value appPath: string = "/webda/"
Returns string
-
-
Parameters
-
tag: any
to build
-
file: any
path of Dockerfile
Returns Promise<object>
-
-
Parameters
-
pkg: string
-
dst: string
-
Default value addFiles: string[] = []
Returns string
-
-
Parameters
-
pkg: string
-
Default value includeModules: boolean = false
-
Default value subpkg: string = ""
Returns void
-
-
Initiate the default value for resources
Returns Promise<void>
-
Create Docker image and push
Returns Promise<object>
-
Parameters
-
command: string
-
Default value stdin: string = undefined
-
Default value resolveOnError: boolean = false
-
Default value logLevel: WorkerLogLevel = "TRACE"
Returns Promise<object>
-
-
Return the Webda Application
Returns Application
-
Generate a dynamic Dockerfile with webda application
Returns string
-
Returns string
-
Return the instruction to add webda-shell in Docker
If within development repository it will copy all local files Otherwise just a simple yarn add
Returns string
-
Returns string
-
Returns Promise<void>
-
Replace the resources variables
this.resources = this.replaceVariables(this.resources);
Returns void
-
Replace variables in resources
Parameters
-
obj: any
to replace variables from
Returns any
-
-
Parameters
-
absPath: string
-
onLinkModule: function
-
-
Parameters
-
src: any
-
relPath: any
Returns void
-
-
-
Returns void
-
-
Set the deployer name
Parameters
-
name: string
Returns void
-
-
Set the deployer name
Parameters
-
type: string
Returns void
-
Generated using TypeDoc
Build a Docker image with webda application