My App

Platforms

Deployment Platforms

Deploy your Dex build to popular platforms.

Railway

# Install Railway CLI
npm i -g @railway/cli

# Login
railway login

# Deploy
railway up

Render

  1. Push code to GitHub
  2. Create new Web Service
  3. Set build command: bun run build
  4. Set start command: cd build && ./server
  5. Set PORT to 7990 in environment

Vercel

Dex produces a standard Node binary, compatible with Vercel:

{
  "buildCommand": "bun run build",
  "outputDirectory": "build",
  "publicDirectory": "build",
  "installCommand": "bun install"
}

Docker

FROM oven/bun:latest

WORKDIR /app

COPY package.json .
COPY bun.lockb .

RUN bun install

COPY . .

RUN bun run build

EXPOSE 7990

CMD ["./build/server"]

Fly.io

fly launch

# In fly.toml:
# [env]
# PORT = "7990"

fly deploy

See Also

On this page