page:guides:astro:build and start

Configure build and start for Astro

Summary

Configure build and start for a Astro app on Ample. A server-output Astro app runs its start script; a static build is published as a static site. Ample detects the runtime, installs dependencies, runs the build when present and starts the app on the node-22 template behind a public HTTPS URL.

Resource Requirements

Infrastructure Requirements

Framework

Astro

Workload

Configure build and start

Release Status

Published

Support Status

Verified

Execution Status

Ready

Prerequisites

Tested Configuration

Workflow Steps

  1. Make the start command bind correctly: A server-output Astro app runs its start script; a static build is published as a static site.
  2. Deploy: Run the existing synchronous deploy once from the project directory and read the result.
    • Command: ample deploy . --name --public --format json
  3. Verify: Fetch the live URL and run the success checks. On failure, read the build log, fix the cause, and deploy again.
    • Command: ample logs --kind build

Success Checks

Limitations

Cost Estimate

Evidence Summary

Unknowns

Formats