// Deploy projects to Vercel, Railway, or Docker with platform-specific best practices. Use when deploying applications, configuring deployment settings, debugging deployment failures, or setting up CI/CD pipelines. Triggers on "deploy to vercel", "railway deployment", "docker build", "deployment failed", "configure vercel.json".
Deploy projects to Vercel, Railway, or Docker with platform-specific best practices. Use when deploying applications, configuring deployment settings, debugging deployment failures, or setting up CI/CD pipelines. Triggers on "deploy to vercel", "railway deployment", "docker build", "deployment failed", "configure vercel.json".
Deployment Patterns for Scientia Stack
Deploy to Vercel, Railway, or Docker following proven patterns from 98+ projects.
Platform Selection
Choose based on project type:
Project Type
Platform
Reason
Next.js frontend
Vercel
Native support, edge functions
Python backend
Railway
Nixpacks, health checks
ML/GPU workloads
RunPod
GPU access, vLLM
Local development
Docker
Consistent environment
Vercel Deployment (19 projects)
Standard vercel.json for Monorepo
{"framework":"nextjs","installCommand":"cd frontend && npm install","buildCommand":"cd frontend && npm run build","outputDirectory":"frontend/.next"}
Environment Variables
Set in Vercel Dashboard or CLI:
vercel env add VITE_SUPABASE_URL production
vercel env add VITE_SUPABASE_ANON_KEY production