There was an error while loading. Please reload this page.
1 parent 812a76a commit 5cfca60Copy full SHA for 5cfca60
1 file changed
appStartUp.sh
@@ -1,5 +1,13 @@
1
#!/bin/bash
2
set -eo pipefail
3
4
-# Start the app
5
-pnpm start
+# Force temp files to /tmp (writable even on read-only root filesystem)
+export TMPDIR=/tmp
6
+export TEMP=/tmp
7
+export TMP=/tmp
8
+
9
+# Disable Mastra Studio (it tries to bundle/write files at runtime)
10
+export MASTRA_STUDIO_DISABLED=true
11
12
+# Start the app - use pre-built output directly to avoid runtime bundling
13
+node /app/.mastra/output/index.mjs
0 commit comments