在将 Node 升级到 v22 之后遇到了一个奇怪的问题。我的 Express API 在本地启动一切正常,但在 Docker 中容器刚启动就以 code 0 退出。日志里没有任何错误。有人见过 Node 进程这样悄无声息地退出吗?在想会不会和 PID 1 或信号处理有关。
Original
Running into a weird issue after upgrading Node to v22. My Express API starts fine locally, but in Docker the container exits with code 0 right after boot. No errors in logs. Has a...
浏览: 1