forked from balancer/backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuildspec.yml
More file actions
28 lines (28 loc) · 777 Bytes
/
buildspec.yml
File metadata and controls
28 lines (28 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
version: 0.2
phases:
install:
runtime-versions:
nodejs: 22
commands:
- curl -fsSL https://bun.sh/install | bash
- ~/.bun/bin/bun install --frozen-lockfile
build:
commands:
- ~/.bun/bin/bun prisma generate
- ~/.bun/bin/bun prisma migrate deploy
- ~/.bun/bin/bun run build
- ~/.bun/bin/bun cleanup-console
post_build:
commands:
- rm -rf node_modules
- ~/.bun/bin/bun install -p --frozen-lockfile
- echo Build completed on `date`
artifacts:
files:
- node_modules/**/*
- package.json
- dist/**/*
- Procfile
- cron.yaml
- .platform/**/*
- .ebextensions/**/*