[Bug] docker build 要多少内存 #2096
Unanswered
brinkqiang
asked this question in
Development Question | 开发问题
Replies: 2 comments 1 reply
-
先试试关掉 nextjs 的 type check 和 lint check,目前用的 8G 机器不关也是会卡死。示例: |
Beta Was this translation helpful? Give feedback.
1 reply
-
First try to turn off the type check and lint check of nextjs. The 8G machine currently used will freeze if it is not turned off. Example: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
💻 系统环境
Ubuntu
📦 部署环境
Docker
🌐 浏览器
Other
🐛 问题描述
自己build docker镜像总是提示错误。错误如下。而直接用官方的部署则可以。
经过自己多次测试 发现可能是内存问题。能问一下 build这个镜像要多少内存?因为是云主机 内存不是很大(2G)。 自己加了swap交互区(8G) 还是一样。
🚦 期望结果
希望能在2G内存的情况下build docker
📷 复现步骤
找台2G内存机器即可。sudo docker build -t lobe-chat . --no-cache
📝 补充信息
Beta Was this translation helpful? Give feedback.
All reactions