Skip to content

Commit

Permalink
chore: use distroless
Browse files Browse the repository at this point in the history
  • Loading branch information
Kensuke Kubo committed Sep 4, 2023
1 parent 7c41a71 commit eeb595a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ COPY . .

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

FROM alpine

RUN apk add tzdata
ENV TZ=Asia/Tokyo
FROM gcr.io/distroless/static

ENV DOTENV_PATH=/go/src/.env

Expand Down

0 comments on commit eeb595a

Please sign in to comment.