<commit_before>FROM golang:alpine

ADD . /go/src/github.com/zqureshi/go
WORKDIR /go/src/github.com/zqureshi/go

RUN go build -o /app/go .

CMD ["/app/go"]<commit_msg>[Docker] Optimized image using multi-stage build<commit_after>FROM golang:1.9.2 AS builder
ADD . /go/src/github.com/zqureshi/go
WORKDIR /go/src/github.com/zqureshi/go
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /app/go .

FROM alpine:latest
RUN apk --no-cache add ca-certificates
WORKDIR /app/
COPY --from=builder /app/go .
CMD ["/app/go"]
{'fraction_non_alphanumeric': 0.1450381679389313, 'fraction_numerical': 0.007633587786259542, 'mean_word_length': 3.6875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3331417', 'n_tokens_mistral': 216, 'n_tokens_neox': 213, 'n_words': 49}