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

  1. Push your repo to GitHub, GitLab, Bitbucket, or Codeberg.
  2. 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.
  3. 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: 3000

What 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.

Deploy now

Cookie choices

We use essential cookies to keep the site working. Cookieless page counts run automatically. Performance measurements are optional and only run with your consent.

Cookie policy