Skip to content

Commit c90530f

Browse files
committed
update dir structure for main.go in Dockerfile
1 parent 3118c7e commit c90530f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/scaffold/build_dockerfile.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ENV GOARCH amd64
4545
WORKDIR /go/src/{{ .Repo }}
4646
COPY . /go/src/{{ .Repo }}
4747
48-
RUN go build -o /go/bin/{{ .ProjectName }} {{ .Repo }}/cmd/{{ .ProjectName }}/main.go
48+
RUN go build -o /go/bin/{{ .ProjectName }} {{ .Repo }}/cmd/manager/main.go
4949
5050
# Base image
5151
FROM alpine:3.6

0 commit comments

Comments
 (0)