wtree Cloud

Astro SSR

Deploy an Astro SSR app on wtree Cloud from a Git repository.

Stack summary

Build typeNixpacks, server output
PortPort your start command listens on
Output directoryNot needed

Deploy

Create the application

Create an application with a Git source and set:

FieldValue
RepositoryYour repository URL
Branchmain
Build path/
Build typeNixpacks

Add the start command

Open Settings › Environment variables and add:

NIXPACKS_START_CMD="pnpm run preview"

Deploy

Click Deploy.

Generate a domain

Open Settings › Domains, click Add domain, then click the dice icon next to Host to generate a domain. Set Container port to the port your app listens on and open the generated domain.

Config notes

  • Nixpacks has no start command for Astro server output. NIXPACKS_START_CMD runs pnpm run preview, so use the package manager your project uses.

On this page