Update Dockerfile
This commit is contained in:
parent
fdc16cc1aa
commit
982f59ae4e
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ COPY . .
|
|||
RUN go mod download
|
||||
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /go/bin/app
|
||||
|
||||
FROM gcr.io/distroless/base-debian12
|
||||
FROM scratch
|
||||
|
||||
COPY --from=build /go/bin/app /
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue