After having read about the performance improvements when running Docker on wsl2, I have been waiting for the official release of Windows 10 that supports wsl2. I updated Wi
Probably you have your code on the Windoes machine like in
C:\\Users\YourName\projects\blahfu
But you're using docker on WSL 2 which is then on another filesystem. So if you do a docker build you got all the code/context copied from Windowsfilesystem to Linux filesystem and then from there to the docker container. This takes it's most of hte time and is incredibly slow.
Try to put your project into
/home/YouName/projects/blahfu
This should give quite a performance boost.