Skip to content

Commit

Permalink
try with akpine
Browse files Browse the repository at this point in the history
  • Loading branch information
Dima committed Jan 8, 2024
1 parent 738c489 commit d8af59b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ RUN go mod download
COPY . .
RUN go build -v -o /usr/bin/app .

FROM gcr.io/distroless/static-debian11
WORKDIR /usr/bin
COPY --from=builder /usr/bin/app .
FROM alpine
COPY --from=builder /usr/bin/app /usr/bin/app
EXPOSE 80
CMD ["/usr/bin/app"]

0 comments on commit d8af59b

Please sign in to comment.