<commit_before>FROM alpine:3.14

COPY speedflow /bin/speedflow

RUN addgroup -g 1000 -S speedflow && \
    adduser -u 1000 -S speedflow -G speedflow && \
    chown speedflow:speedflow /bin/speedflow

USER speedflow:speedflow

ENTRYPOINT ["/bin/speedflow"]<commit_msg>feat(container): clean Dockerfile<commit_after># Builder

FROM golang:1.16-alpine3.14 AS builder

WORKDIR /builder
COPY go.mod go.sum Makefile ./
COPY internal internal
COPY pkg pkg
COPY cmd cmd
RUN apk --no-cache add make \
    && make build

# Final image

FROM alpine:3.14.0

COPY --from=builder /builder/bin/speedflow /bin/speedflow
RUN apk add --update ca-certificates \
    && rm /var/cache/apk/*
ENTRYPOINT [ "/bin/speedflow" ]
{'fraction_non_alphanumeric': 0.11269614835948645, 'fraction_numerical': 0.029957203994293864, 'mean_word_length': 3.588235294117647, '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': '3648166', 'n_tokens_mistral': 262, 'n_tokens_neox': 236, 'n_words': 71}