From d369047ba6025b24000614c9442566d39a1cdeb3 Mon Sep 17 00:00:00 2001 From: oOHiyoriOo Date: Thu, 25 Jun 2026 08:43:10 +0200 Subject: [PATCH] add node --- server/startup.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/server/startup.sh b/server/startup.sh index 45e6a3d..e47279c 100644 --- a/server/startup.sh +++ b/server/startup.sh @@ -10,10 +10,13 @@ apt-get install -y --no-install-recommends \ pip install -q -r /app/requirements.txt # ─── Custom setup (add your own steps below) ────────────────────────────────── -# Example: -# apt-get install -y --no-install-recommends nodejs npm -# pip install -q pandas numpy -# curl -fsSL https://example.com/tool | bash +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.5/install.sh | bash + +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" + +nvm install 24 # ─── Start server ───────────────────────────────────────────────────────────── exec python -u /app/main.py