Serverless in Docker for Go

I am trying to Dockerize Serverless to ease and standardize the development process. I would like to test a Go function, which works like a charm when launched with “invoke local” command using the local Serverless installation. When I try to mount my project in Docker, I get the following error:

Error: fork/exec /var/task/bin/mybin : no such file or directory

Any suggestion?