I am trying to build my project inside the docker, so here are my Dockerfile looks like
FROM golang as builder
COPY go.mod .
COPY go.sum .
RUN go mod download
COPY . .
RUN go get -d -v ./graphTry
RUN go install ./graphTry
RUN go build -o /go/bin/akew ./graphTry/server/server.go
# final stage
FROM alpine:3.7 as final
COPY --from=build /go/bin .
so the file which is the entry point to the program is “server” it is inside the
when I try to build docker it returns an error
reading ./graphTry/server/server.go: unexpected NUL in input
what does it mean, one more thing my project not inside GOPATH, does it matter ?