Files
coolify-examples/node/astro
Andras Bacsai d3a2a9d83b new examples
2025-12-26 11:40:00 +01:00
..
2025-12-26 11:40:00 +01:00
2025-12-26 11:40:00 +01:00
2025-12-26 11:40:00 +01:00

Astro

Astro examples with SSR and static export.

Variants

SSR (Server-Side Rendering)

cd ssr
npm install
npm run dev     # development
npm run build   # build
npm start       # production server

Uses @astrojs/node adapter with output: 'server'.

Static Export

cd static
npm install
npm run dev     # development
npm run build   # build to 'dist' directory
npm start       # serve static files

Static is the default Astro mode.