diff --git a/nixpacks.toml b/nixpacks.toml new file mode 100644 index 0000000..6804fa1 --- /dev/null +++ b/nixpacks.toml @@ -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" diff --git a/package.json b/package.json index fff3d0b..b22d4bf 100644 --- a/package.json +++ b/package.json @@ -27,5 +27,8 @@ "svelte-select": "^5.8.3", "svelte-table": "^0.6.4", "tailwindcss": "^4.1.7" - } + }, + "optionalDependencies": { + "@rollup/rollup-linux-x64-gnu": "4.9.5" + } }