Deploying AppsDeploy Lifecycle

Deploy Lifecycle

Every deploy follows the same basic path.

1. Source is selected

You deploy from a connected GitHub repo, a framework starter, or the CLI upload flow.

2. Framework is detected

DockHosting checks the files in your project and chooses build behavior for the stack. You can override the detected type when needed.

3. Build starts

The builder installs dependencies, runs the build command, and prepares a Docker image. The build log streams in the dashboard and CLI.

4. Container starts

After a successful build, DockHosting starts the container and routes traffic to it.

5. Health settles

The project status moves through states such as building, running, error, or stopped.

Failed deploys

If a deploy fails, check the Live Build log first. Build failures are usually missing dependencies, incorrect build commands, missing environment variables, or an app listening on the wrong port.