Deployment configuration
Open the environment's Build & Deployment area to review configuration detected by the agent or entered by the user.
Available fields
| Field | Purpose |
|---|---|
| Root directory | Path containing the application when the repository is a monorepo or the app is not at repository root. |
| Pre-build commands | Commands run before the main build. |
| Post-build commands | Commands run after the main build step. |
| Procfile commands | Process commands for web servers and workers. |
| Port | Port exposed by the web process. |
| Dockerfile | Container build instructions used for the workload. |
Make changes safely
- Compare the setting with the repository layout.
- Update only the environment that needs the change.
- Save the configuration.
- Start or restart deployment through the supported dashboard action.
- Follow Build Logs for the result.
Trial accounts can be restricted from editing root-directory, build-script, Dockerfile, and deployment settings until runtime credits are purchased.