Limit CPU cores or thread numbers in UAT Cooking process

I am building my UE project in GitLab pipeline, running in docker container, Unreal Engine 5.6.1

It works well in my local machine, but always fails on the server.The reason is because the server has 768 CPU Cores, and it triggers an error.

#9 124.2 LogCook: Display: Garbage collection triggered (Soft). Triggered by conditions:

#9 124.2 CookSettings.SoftGCTimeTrigger: Periodic triggering of SoftGC: No duration data.

#9 124.2 LogCook: Display: Cooked packages 8 Packages Remain 1033 Total 1041

#9 124.2 LogCookCommandlet: Display: GarbageCollection… (Periodic GC)

#9 124.2 LogConfig: No local boot hotfix file found at: [../../../Engine/Programs/ShaderCompileWorker/Saved/PersistentDownloadDir/HotfixForNextBoot.txt]

#9 124.2 LogOutputDevice: Warning:

#9 124.2

#9 124.2 Script Stack (0 frames) :

#9 124.2

#9 124.2 Assertion failed: NumberOfObjectsPerThread * (NumThreads - 1) <= MaxNumberOfObjects [File:./Editor/UnrealEd/Private/Cooker/CookGarbageCollect.cpp] [Line: 274]

#9 124.2

#9 124.2 LogCore: Error: appError called: Assertion failed: NumberOfObjectsPerThread * (NumThreads - 1) <= MaxNumberOfObjects [File:./Editor/UnrealEd/Private/Cooker/CookGarbageCollect.cpp] [Line: 274]

#9 124.2

#9 124.2

#9 124.2 CommonUnixCrashHandler: Signal=11

#9 124.2 Signal 11 caught.

/home/ue5/UnrealEngine/Engine/Build/BatchFiles/RunUAT.sh -ScriptsForProject=/source/XXX.uproject BuildCookRun -project=/source/XXX.uproject -noP4 -clientconfig=$CLIENTCONFIG  -utf8output -platform=Linux -targetplatform=Linux -build -cook -allmaps -AllowStagedLightmaps -compressed -stage -pak -archive -unversionedcookedcontent -archivedirectory="/output/" 

Is there any parameter to limit the CPU counts?