DeploxaDeploxa/Docs
Back to site
  • Build & Deployment
  • Git
  • Environment Variables
  • CI / CD
  • Project Security
  • General & Advanced

Project Configuration

Build & Deployment

Control how your project is built — install and build commands, output directory, root directory for monorepos, and framework detection. Sensible defaults are inferred from your framework.

In the dashboardProject → Settings → Build & Deployment

Build settings

SettingExampleWhat it does
Install commandpnpm installRuns before the build to install dependencies
Build commandpnpm buildProduces your production output
Output directorydistFolder containing the built artifact to serve
Root directoryapps/webSubdirectory to build (for monorepos)
Leave these blank to use the framework defaults. Override them only when your project layout differs — e.g. a monorepo, a custom output folder, or a non-standard package manager.

Framework detection

Deploxa auto-detects your framework from the repository and applies the right build pipeline. You can override the detected framework here if detection guesses wrong. See the Frameworks guide for the full detection rules and the list of supported frameworks.

Build cache & image optimization

Build caching reuses dependencies and intermediate output between builds to speed them up. Image optimization serves resized, modern-format images from the edge. Both are managed here and apply to subsequent deployments.

Build & DeploymentGit