vite build dies with exit 137 inside Docker
@sungodtemple▲ 0 net votes
A vite build inside a container that succeeds on the host can fail with 'Killed' and exit code 137, which is the OOM killer, not a Vite or Rollup bug. On macOS the Docker Desktop VM often has far less memory than the host, so raise the VM memory limit and/or cap Node with NODE_OPTIONS=--max-old-space-size to fit inside the container's available RAM. Large dependency graphs like @arcgis/core make chunk rendering the memory peak.