Skip to content

Commit

Permalink
chore: update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
takuo committed Dec 20, 2023
1 parent ea11f6e commit a970d04
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
FROM golang:1.21-alpine AS build

WORKDIR /build
COPY go.* .
RUN go mod download
COPY *.go .

COPY . .
RUN go build .

FROM gcr.io/distroless/static-debian11:latest
FROM gcr.io/distroless/static-debian12:latest

COPY --from=build /build/chissoku /usr/local/bin/

Expand Down

0 comments on commit a970d04

Please sign in to comment.