dockerize

package
v2.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdDockerize = &commands.Command{
	CustomFlags: true,
	UsageLine:   "dockerize",
	Short:       "Generates a Dockerfile and docker-compose.yaml for your Beego application",
	Long: `Dockerize generates a Dockerfile and docker-compose.yaml for your Beego Web Application.
  The Dockerfile will compile and run the application.
  The docker-compose.yaml can be used to build and deploy the generated Dockerfile.
  {{"Example:"|bold}}
    $ bee dockerize -expose="3000,80,25"
  `,
	PreRun: func(cmd *commands.Command, args []string) { version.ShowShortVersionBanner() },
	Run:    dockerizeApp,
}

Functions

This section is empty.

Types

type Composefile added in v2.0.5

type Composefile struct {
	Appname string
	Expose  string
}

docker-compose.yaml

type Dockerfile

type Dockerfile struct {
	BaseImage  string
	Appdir     string
	Entrypoint string
	Expose     string
}

Dockerfile holds the information about the Docker container.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL