Skip to content

From a Dockerfile

Pier can build from a Dockerfile located in a Git repository or uploaded directly.

  1. In the dashboard, Add service → From Git.
  2. Enter the repository URL (HTTPS or SSH).
  3. Pick the branch, and the path to the Dockerfile (defaults to ./Dockerfile).
  4. Add build args and env vars as needed.
  5. Click Deploy — Pier clones, builds, and starts the container.

Add a webhook in your GitHub/GitLab settings pointing to https://<pier-host>/webhooks/github/<service-id>. Pier validates the signature, pulls the latest commit, rebuilds, and redeploys.

Deployment history is kept — rollback one release with a single click.