Error relocating better_sqlite3.node: fcntl64: symbol not found when building Docker image

any solutions to this? I just started to play around with strapi and docker and used the Dockerfile from the documentation and I am facing the same problem.
I am building it in WSL2 and it is building fine, without errors.