When running docker build -t wolweb . I get the following error:
Step 6/16 : RUN go build -o wolweb .
---> Running in 83bad7fbe7ac
go: cannot find main module, but found .git/config in /wolweb
to create a module there, run:
go mod init
I've created a PR that resolves this for me by adding the suggested command to the Dockerfile
When running
docker build -t wolweb .
I get the following error:I've created a PR that resolves this for me by adding the suggested command to the Dockerfile