add node
This commit is contained in:
+7
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user