diff --git a/apps/cli/src/exec.ts b/apps/cli/src/exec.ts index 1b58ca22..f0638e8f 100644 --- a/apps/cli/src/exec.ts +++ b/apps/cli/src/exec.ts @@ -30,7 +30,7 @@ export const execaDockerFallback = async ( "--workdir", "/work", "--user", - userInfo.uid.toString(), + `${userInfo.uid}:${userInfo.gid}`, ]; return await execa( "docker", @@ -73,7 +73,7 @@ export const spawnSyncDockerFallback = async ( "/work", "--interactive", "--user", - userInfo.uid.toString(), + `${userInfo.uid}:${userInfo.gid}`, ]; const dockerArgs = [ "run",