Deploy Node.js on Deplexo
Deplexo detects your package manager from lock files (npm, yarn, pnpm, bun) and identifies Next.js, Vite, and Express projects to set appropriate build and start defaults.
How it works
- Push your repo to GitHub, GitLab, Bitbucket, or Codeberg.
- Deplexo reads your lock file to pick the package manager, checks for Next.js, Vite, or Express, and generates an optimized Dockerfile with per-app dependency caching.
- Your app starts on its subdomain. Build and runtime logs stream to the dashboard.
Configuration
Add deplexo.yaml to your repo root. All fields are optional, and auto-detection covers most projects without the file.
version: 1
type: web
build:
framework: auto
install: npm ci
command: npm run build
run:
command: npm start
port: 3000What you get
- Automatic subdomain (your-app.deplexo.com) provisioned on first deploy.
- Build logs streamed live.
- Runtime logs accessible from the Logs tab.
- Environment variables managed in the dashboard, encrypted at rest, injected at runtime.
- Git webhooks trigger automatic redeploys on push.