Add nixpacks.toml
This commit is contained in:
19
nixpacks.toml
Normal file
19
nixpacks.toml
Normal file
@@ -0,0 +1,19 @@
|
||||
# nixpacks.toml
|
||||
|
||||
[phases.setup]
|
||||
# Prevent Nixpacks from caching setup phase (e.g., node installation)
|
||||
cache = false
|
||||
|
||||
[phases.install]
|
||||
# Prevent Nixpacks from caching node_modules or dependencies
|
||||
cache = false
|
||||
cmds = ["npm install"]
|
||||
|
||||
[phases.build]
|
||||
# Prevent caching of the build output
|
||||
cache = false
|
||||
cmds = ["npm run build"]
|
||||
|
||||
[start]
|
||||
# Start your SvelteKit SSR server
|
||||
cmd = "npm run start"
|
||||
Reference in New Issue
Block a user