Dockerfile: COPY go.mod go.sum ./ error
rmdhfz opened this issue · 3 comments
rmdhfz commented
Required check list:
- I'm gonna mark the checkboxes like this.
- I didn't find in the repository's issues section similar bug.
- I understand, this is Open Source and not-for-profit product.
- This is not about third-party project, framework, package or technology.
My environment:
- OS (
uname -a
): Windows 10 - Golang (
go version
): go1.16.7 windows/amd64
Describe the bug:
=> ERROR [builder 3/6] COPY go.mod go.sum ./ 0.0s
[builder 3/6] COPY go.mod go.sum ./:
failed to compute cache key: "/go.sum" not found: not found
Steps to reproduce the behavior:
- Create Dockerfile
- Go to docker build -t fiber .
- See error
welcome commented
Thanks for opening your first issue here! 🎉 Be sure to follow the issue template!
koddr commented