<commit_before>FROM golang:1 as builder

ADD . /data

WORKDIR /data

ENV GO111MODULE=on

RUN cd cmd/gost && go build

FROM alpine:latest

WORKDIR /bin/

COPY --from=builder /data/cmd/gost/gost .

RUN chmod u+x gost

RUN ls -l /bin/gost && /bin/gost -h

ENTRYPOINT ["/bin/gost"]<commit_msg>update Dockerfile<commit_after>FROM golang:1-alpine as builder

RUN apk add --no-cache musl-dev git gcc

ADD . /data

WORKDIR /data

ENV GO111MODULE=on

RUN cd cmd/gost && go build

FROM alpine:latest

WORKDIR /bin/

COPY --from=builder /data/cmd/gost/gost .

RUN /bin/gost -V

ENTRYPOINT ["/bin/gost"]
{'fraction_non_alphanumeric': 0.12351945854483926, 'fraction_numerical': 0.01353637901861252, 'mean_word_length': 3.258992805755396, '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': '6829071', 'n_tokens_mistral': 251, 'n_tokens_neox': 238, 'n_words': 68}