cpns / deploy /server.nixpacks.toml
pramudya-yb
Rename project from Labas to Pram
2b62b0c
Raw
History Blame Contribute Delete
364 Bytes
# Nixpacks config for the Pram API server (Hono + tRPC).
# Point Coolify to this file: NIXPACKS_CONFIG_FILE=deploy/server.nixpacks.toml
[phases.setup]
nixPkgs = ["...", "bun"]
[phases.install]
cmds = ["bun install --frozen-lockfile"]
[phases.build]
cmds = ["bunx turbo build -F server"]
[start]
cmd = "bun run db:migrate && bun run --cwd apps/server start"