Astro

Select Other when you create a project. Astro is not yet a first-class framework on Velumi; build and deployment support is best-effort.

Static sites

If your Astro build produces only static files in dist and the default runtime command does not serve them, set this custom start command:

npx --yes serve dist -l 3000

This serves the static output on port 3000 on all interfaces. npx may download serve at startup if it is not installed in the application.

For an existing environment, save the command and trigger a new build/deployment to apply it. Saving does not start a new build. A failed environment may retry its existing image with its old command; restarting is not enough to apply the change. See Apply or clear a command.

Server-rendered sites

Do not use the static command above for Astro SSR or routes that need a server runtime. Use the runtime command appropriate to your Astro adapter and build output. The server must listen on port 3000 on all interfaces, not only localhost.