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
|
pip install -q -r /app/requirements.txt
|
||||||
|
|
||||||
# ─── Custom setup (add your own steps below) ──────────────────────────────────
|
# ─── Custom setup (add your own steps below) ──────────────────────────────────
|
||||||
# Example:
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.5/install.sh | bash
|
||||||
# apt-get install -y --no-install-recommends nodejs npm
|
|
||||||
# pip install -q pandas numpy
|
export NVM_DIR="$HOME/.nvm"
|
||||||
# curl -fsSL https://example.com/tool | bash
|
[ -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 ─────────────────────────────────────────────────────────────
|
# ─── Start server ─────────────────────────────────────────────────────────────
|
||||||
exec python -u /app/main.py
|
exec python -u /app/main.py
|
||||||
|
|||||||
Reference in New Issue
Block a user