V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  jason118822  ›  全部回复第 1 页 / 共 1 页
回复总数  1
2023-04-22 22:55:36 +08:00
回复了 aaronhua 创建的主题 Node.js node js 应用部署,一定要停机,才能 npm install 么?
如果 nodejs 更新的业务代码刚好是新加的依赖,不用 docker 话,确实会出现报错,但半小时太离谱了。不用 docker 通常做法,git pull && npm i && pm2 reload xxx ,就能完成更新,通常一分钟不到
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1895 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 16:21 · PVG 00:21 · LAX 09:21 · JFK 12:21
Developed with CodeLauncher
♥ Do have faith in what you're doing.