Deploy Astro with Risved
Risved detects Astro from its configuration and package dependency.
How Risved builds it
Builds with Node and serves with the standalone Node adapter.
What you need
- Install @astrojs/node as a production dependency
- Configure output: server and the Node adapter in standalone mode
- Provide a build script in package.json
Server configuration
The generated image runs node dist/server/entry.mjs and includes production dependencies. Its default HOST is 0.0.0.0 and PORT is 3000. Static-only output needs a custom server and start command.