Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
bagel-dawg authored Jun 2, 2024
1 parent af16b27 commit 69c7b24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ FROM golang:1.18 as build
WORKDIR /go/src/app
COPY . /go/src/app

RUN CGO_ENABLED=0 go build -o /go/bin/app
RUN CGO_ENABLED=0 go build -o /go/bin/app -buildvcs=false

FROM gcr.io/distroless/static-debian11

COPY --from=build /go/bin/app /
CMD ["/app"]
CMD ["/app"]

0 comments on commit 69c7b24

Please sign in to comment.