DodoApp: Support dev branches of Nextjs apps
Change-Id: Iaec635265549238be88913e458a4f8aae13d3a40
diff --git a/core/installer/app_configs/dodo_app.cue b/core/installer/app_configs/dodo_app.cue
index c3f9474..12bb14c 100644
--- a/core/installer/app_configs/dodo_app.cue
+++ b/core/installer/app_configs/dodo_app.cue
@@ -32,8 +32,8 @@
authKey: input.vpnAuthKey
}
codeServerEnabled: true
- cpuCores: 1
- memory: "1Gi"
+ cpuCores: 2
+ memory: "3Gi"
cloudInit: {
_loadEnvFile: "/home/\(username)/.dodo_env.sh"
writeFiles: [{
@@ -238,6 +238,16 @@
args: ["task", "start", "-p", "\(port)"]
env: lastCmdEnv
}]
+
+ vm: {
+ env: [
+ "export PATH=$PATH:/usr/local/deno/bin"
+ ]
+ cloudInit: runCmd: [
+ ["sh", "-c", "apt-get install -y npm unzip"],
+ ["sh", "-c", "curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/usr/local/deno sh -s -- -y --no-modify-path"],
+ ]
+ }
}
#NextjsApp: #NextjsDeno2AppTmpl