Hosthing early access · Explore the product. Public self-service deployment is not open yet. Stay in touch →
Skip to content
← All articles
Applications · 6 min read

From repository to running application: the checks that matter.

How a Git repository becomes an immutable image and a healthy deployment — and the checkpoints to verify at each stage.

From repository to running applicationA diagram of source code being built and deployed into a live, verified running application on Hosthing.HRepoBuildLive

How the build is actually chosen

When you deploy from Git, Hosthing analyses the repository and picks a build strategy in a fixed order. If a Dockerfile is present (or you point to one), it builds that with kaniko — a daemonless builder whose safety depends on runner isolation and configuration. With no Dockerfile, Cloud Native Buildpacks (Paketo) auto-detect common runtimes — Java, Node.js, Python, Go, Ruby and .NET — and produce a reproducible image with an SBOM. A static site is served from a generated nginx image.

The build runs in a separate Build Worker deployable, isolated from Control Plane secrets and the database, precisely because it executes your code. The output is an image digest, a software bill of materials and sanitized logs pushed to the registry.

A monorepo can hold several services. Set the base directory and Dockerfile path before deploying so the right context is built.

How your source becomes an imagePick a scenario — the builder is chosen automatically in this order.

Your repository contains a Dockerfile (or you point to one).

Builder selected: kaniko

  • Builds exactly what your Dockerfile describes
  • Daemonless build — runner isolation still needs verification
  • Outputs an image digest + SBOM + sanitized logs

Set the base directory and Dockerfile path for monorepos so the right context is built.

Make configuration explicit

List the environment variables your application genuinely needs and separate build-time configuration from runtime secrets. Credentials belong in the secrets module, which delivers them to the workload at runtime — never baked into the image or committed to Git, and never exposed to the browser.

Confirm the listening port and that the process binds to a reachable interface inside the container (0.0.0.0, not 127.0.0.1). A service that only listens on loopback will build cleanly and still be unreachable.

A successful image build is the first checkpoint, not the finish line.

Connect the dependencies through bindings

Data services are connected with ServiceBindings, which deliver endpoints and credentials to the dependent service. Prefer private connectivity where it is available. A database running in another container is not reached through localhost — it has its own address inside the project network.

On the Project Canvas an edge between two services represents a real binding with a live state (CONNECTED, DEGRADED or ACTION_REQUIRED), not a decorative line.

Verify the result, not the provisioning

Read the build and runtime logs, hit the health endpoint, then exercise an actual user journey that touches the database. A provisioned server is not evidence that an application is healthy. Validate domain routing and TLS before you share a public URL.

Plan the next deployment

Record the image digest or commit you deployed, your database migration strategy and the recovery procedure. Test changes on a non-critical environment first. Application rollback restores the previous image — it does not automatically undo a database schema change, so migrations need their own forward/back plan.

Explore more guides →
Less managing. More making.

Give your next idea a place to grow.

Explore the product and tell us what you want to build. Public self-service deployment is not open yet.