AppRunner: Support Nodejs 24.0.2
Change-Id: I37659d91d8211d5cfb4240a885da5a51ef43774a
diff --git a/core/installer/app_configs/dodo_app.cue b/core/installer/app_configs/dodo_app.cue
index 2966704..33dbb82 100644
--- a/core/installer/app_configs/dodo_app.cue
+++ b/core/installer/app_configs/dodo_app.cue
@@ -456,7 +456,11 @@
type: "nodejs:23.1.0"
}
-#NodeJSApp: #NodeJS2310
+#NodeJS2402: #NodeJSAppTmpl & {
+ type: "nodejs:24.0.2"
+}
+
+#NodeJSApp: #NodeJS2310 | #NodeJS2402
#App: #GoApp | #HugoApp | #PHPApp | #NextjsApp | #NodeJSApp | #DenoApp
diff --git a/core/installer/samples/canvas.rest b/core/installer/samples/canvas.rest
index 7454e5e..d2a0c8c 100644
--- a/core/installer/samples/canvas.rest
+++ b/core/installer/samples/canvas.rest
@@ -37,14 +37,12 @@
"repository": "https://code.v1.dodo.cloud/pcloud",
"rootDir": "apps/canvas/back"
},
- "type": "nodejs:23.1.0",
+ "type": "nodejs:24.0.2",
"volume": ["data"],
"preBuildCommands": [{
"bin": "cd ../front && npm install && npm run build"
}, {
- "bin": "npx prisma deploy"
- }, {
- "bin": "npx prisma generate"
+ "bin": "npx prisma migrate dev"
}]
}
],