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