I not really sure I don't use WSL nor docker. Even if it was possible I'd really prefer a native solution...
WSL is not 'native' per se, but it's very well-integrated with Windows. I'd give it a look, even if it's just writing a script to run a build command in WSL from the same directory you're developing locally in.