forked from ramxcodes/NotesBuddy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnixpacks.toml
More file actions
41 lines (36 loc) · 706 Bytes
/
Copy pathnixpacks.toml
File metadata and controls
41 lines (36 loc) · 706 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
29
30
31
32
33
34
35
36
37
38
39
40
41
[variables]
CI = 'true'
NODE_ENV = 'production'
NPM_CONFIG_PRODUCTION = 'false'
NIXPACKS_METADATA = 'node'
[phases.setup]
nixPkgs = [
'nodejs_20',
'bun',
'openssl',
'pkg-config'
]
nixOverlays = ['https://github.com/railwayapp/nix-npm-overlay/archive/main.tar.gz']
aptPkgs = ['curl', 'wget', 'ca-certificates']
[phases.install]
dependsOn = ['setup']
cmds = [
'bun install'
]
cacheDirectories = ['/root/.bun']
paths = ['/app/node_modules/.bin']
[phases.build]
dependsOn = ['install']
cmds = [
'bun run build'
]
cacheDirectories = [
'.next/cache',
'node_modules/.cache'
]
[start]
cmd = 'bun run start'
[staticAssets]
# Next.js static files
"public" = "/"
".next/static" = "/_next/static"