How to Deploy a Static Site
No Dockerfile needed. Nginx is baked into the static runtime.
What you're building
A static site or single-page app served by nginx. Perfect for landing pages, documentation, or pre-built SPA bundles.
How do I deploy it?
Just ask your AI assistant. It calls the PromptShip MCP tools for you:
Deploy my static site from github.com/me/my-site. The built files are in the dist/ folder.
create_app(
name: "my-site",
github_repo: "github.com/me/my-site"
)configure_app(
app_name: "my-site",
runtime: "static",
root_dir: "dist"
)configure_process(
app_name: "my-site",
process_name: "web",
process_type: "web",
command: "nginx -g 'daemon off;'"
)deploy_app(app_name: "my-site", branch: "main")Your site is live at https://my-site-dev.promptship.dev
Need a build step? If your site requires npm run build before serving (React, Vue, etc.), use the node:22 runtime or a custom Dockerfile with a multi-stage build — see the WASM game + API example for a full Dockerfile with nginx + SPA fallback.
