docs: update Node.js to 24 LTS, switch to nvm + corepack
- Use nvm v0.40.4 + nvm install 24 (24.14.0 LTS) instead of nodesource - Use corepack enable pnpm instead of npm install -g pnpm - Add symlink step: ln -sf \$(nvm which current) /usr/local/bin/node so systemd service can reference a stable path - Update ExecStart in innercontext-node.service: /usr/bin → /usr/local/bin - Update Node.js version references in README.md (22 → 24 LTS) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
3c1dcbeb06
commit
a2500a919b
3 changed files with 13 additions and 6 deletions
|
|
@ -10,7 +10,7 @@ WorkingDirectory=/opt/innercontext/frontend
|
|||
Environment=PORT=3000
|
||||
Environment=HOST=127.0.0.1
|
||||
EnvironmentFile=/opt/innercontext/frontend/.env.production
|
||||
ExecStart=/usr/bin/node /opt/innercontext/frontend/build/index.js
|
||||
ExecStart=/usr/local/bin/node /opt/innercontext/frontend/build/index.js
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue