Skip to content

Commit 454b342

Browse files
committed
Fix go build command in Dockerfile
1 parent 7916d7d commit 454b342

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM golang:latest AS build
33
WORKDIR $GOPATH/src/app
44
COPY . .
55

6-
RUN CGO_ENABLED=0 go build -o /app main.go
6+
RUN CGO_ENABLED=0 go build -o /app .
77

88
FROM gcr.io/distroless/static:latest
99
COPY --from=build /app /app

0 commit comments

Comments
 (0)