chore: ensure node symlink for next start

This commit is contained in:
Esdras Renan 2025-11-19 18:39:11 -03:00
parent 9bc9e7e7db
commit ddb20059c2

View file

@ -22,6 +22,9 @@ if command -v apt-get >/dev/null 2>&1; then
apt-get update -y || true apt-get update -y || true
apt-get install -y openssl || true apt-get install -y openssl || true
fi fi
if ! command -v node >/dev/null 2>&1 && [ -x /usr/bin/nodejs ]; then
ln -sf /usr/bin/nodejs /usr/bin/node || true
fi
if ! command -v node >/dev/null 2>&1; then if ! command -v node >/dev/null 2>&1; then
echo "[start-web] node not found; installing via apt-get (requires root)" echo "[start-web] node not found; installing via apt-get (requires root)"
apt-get update -y || true apt-get update -y || true