chore: install node/openssl with apt-get output (runtime)

This commit is contained in:
Esdras Renan 2025-11-19 18:37:01 -03:00
parent 06d767b01e
commit 9bc9e7e7db

View file

@ -19,13 +19,13 @@ echo "[start-web] NEXT_PUBLIC_CONVEX_URL=${NEXT_PUBLIC_CONVEX_URL:-}"
if command -v apt-get >/dev/null 2>&1; then if command -v apt-get >/dev/null 2>&1; then
if ! command -v openssl >/dev/null 2>&1; then if ! command -v openssl >/dev/null 2>&1; then
echo "[start-web] openssl not found; installing via apt-get (requires root)" echo "[start-web] openssl not found; installing via apt-get (requires root)"
apt-get update -y >/dev/null 2>&1 || true apt-get update -y || true
apt-get install -y openssl >/dev/null 2>&1 || true apt-get install -y openssl || true
fi 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 >/dev/null 2>&1 || true apt-get update -y || true
apt-get install -y nodejs npm >/dev/null 2>&1 || true apt-get install -y nodejs npm || true
fi fi
else else
echo "[start-web] apt-get unavailable; skipping system deps install" >&2 echo "[start-web] apt-get unavailable; skipping system deps install" >&2