<commit_before>FROM golang:1.11-alpine as builder

RUN apk add --no-cache --update ca-certificates git
ADD . /go/src/github.com/yaproxy/yap/

ENV CGO_ENABLED=0 GO111MODULE=on
RUN cd /go/src/github.com/yaproxy/yap/ && \
    go mod download && \
    go build -o yap cli/main.go

FROM alpine:3.8

RUN apk add --no-cache --update ca-certificates && \
    mkdir /yap

COPY --from=builder /go/src/github.com/yaproxy/yap/yap /usr/local/bin/
WORKDIR /yap

CMD ["/usr/local/bin/yap"]<commit_msg>update Dockerfile<commit_after>FROM golang:1.18-alpine as builder

RUN apk add --no-cache --update ca-certificates git
ADD . /go/src/github.com/yaproxy/yap/

ENV CGO_ENABLED=0
RUN cd /go/src/github.com/yaproxy/yap/ && \
    go mod download && \
    go build -o yap cli/main.go

FROM alpine:3.16

RUN apk add --no-cache --update ca-certificates && \
    mkdir /yap

COPY --from=builder /go/src/github.com/yaproxy/yap/yap /usr/local/bin/
WORKDIR /yap

CMD ["/usr/local/bin/yap"]
{'fraction_non_alphanumeric': 0.15072765072765074, 'fraction_numerical': 0.016632016632016633, 'mean_word_length': 2.8674698795180724, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2669504', 'n_tokens_mistral': 412, 'n_tokens_neox': 401, 'n_words': 89}