chore: install node/openssl with apt-get output (runtime)
This commit is contained in:
parent
06d767b01e
commit
9bc9e7e7db
1 changed files with 4 additions and 4 deletions
|
|
@ -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 openssl >/dev/null 2>&1; then
|
||||
echo "[start-web] openssl not found; installing via apt-get (requires root)"
|
||||
apt-get update -y >/dev/null 2>&1 || true
|
||||
apt-get install -y openssl >/dev/null 2>&1 || true
|
||||
apt-get update -y || true
|
||||
apt-get install -y openssl || true
|
||||
fi
|
||||
if ! command -v node >/dev/null 2>&1; then
|
||||
echo "[start-web] node not found; installing via apt-get (requires root)"
|
||||
apt-get update -y >/dev/null 2>&1 || true
|
||||
apt-get install -y nodejs npm >/dev/null 2>&1 || true
|
||||
apt-get update -y || true
|
||||
apt-get install -y nodejs npm || true
|
||||
fi
|
||||
else
|
||||
echo "[start-web] apt-get unavailable; skipping system deps install" >&2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue