Testing with wsl2 was presenting failure when
compiling with docker due to the 'cwd' process folder. The code was taking the VSCode process dir instead, which was a windows path unrelated to the workspace. With this modification, the container can properly find the contract to be compiled, using the proper path.
I offer this pull request as a suggestion, as it worked for me. I did not extensively test this. I could successfully obtain the compiled .tz contract.
Testing with wsl2 was presenting failure when compiling with docker due to the 'cwd' process folder. The code was taking the VSCode process dir instead, which was a windows path unrelated to the workspace. With this modification, the container can properly find the contract to be compiled, using the proper path.
I offer this pull request as a suggestion, as it worked for me. I did not extensively test this. I could successfully obtain the compiled .tz contract.