Skip to content

Commit

Permalink
Merge pull request #14 from timfanda35/features/minimize_image_size
Browse files Browse the repository at this point in the history
feat(image): use scratch as base image
  • Loading branch information
timfanda35 committed Oct 1, 2023
2 parents 8fde012 + f3a1359 commit afcdfed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ COPY . ./
RUN make build

# Builder
FROM alpine
FROM scratch

COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /src/app /

ENTRYPOINT ["/app"]

0 comments on commit afcdfed

Please sign in to comment.