Docker buildx build --platform=linux/amd64 fail to copy long name files above 50 charactors

ERROR [build 13/15] COPY server/trpc/routers/schemas/objects/ModuleUncheckedCreateNestedManyWithoutDefaultQstashServiceInput.schema.ts 0.0s

[build 13/15] COPY server/trpc/routers/schemas/objects/ModuleUncheckedCreateNestedManyWithoutDefaultQstashServiceInput.schema.ts server/trpc/routers/schemas/objects/:


Dockerfile:33

31 | # COPY server.tgz /src/
32 | # RUN tar -xf server.tgz
33 | >>> COPY server/trpc/routers/schemas/objects/ModuleUncheckedCreateNestedManyWithoutDefaultQstashServiceInput.schema.ts server/trpc/routers/schemas/objects/
34 | # RUN ls server/trpc/routers/schemas/objects/ModuleUncheckedCreateNestedManyWithoutDefaultQstashServiceInput.schema.ts

35
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 7142159f-6182-4e11-87e9-a90eb66f6c08::w47c70xz1rlour1p2czxpela3: “/server/trpc/routers/schemas/objects/ModuleUncheckedCreateNestedManyWithoutDefaultQstashServiceInput.schema.ts”: not found
make: *** [repo-push] Error 1

i tried to even tar zip the file on my mac, and extract the files in dockerfile,
and the file is still missing