<commit_before>FROM golang

COPY . /go/src/github.com/etsy/hound
ONBUILD COPY config.json /hound/
RUN adduser --uid 999 --gecos ,,, --disabled-password --home /hound hound
RUN go-wrapper install github.com/etsy/hound/cmds/houndd

USER hound
EXPOSE 6080

ENTRYPOINT ["/go/bin/houndd", "-conf", "/hound/config.json"]
<commit_msg>Revert "Dockerfile: Run houndd as unprivileged user"<commit_after>FROM golang

COPY . /go/src/github.com/etsy/hound
ONBUILD COPY config.json /hound/
RUN go-wrapper install github.com/etsy/hound/cmds/houndd

EXPOSE 6080

ENTRYPOINT ["/go/bin/houndd", "-conf", "/hound/config.json"]

{'fraction_non_alphanumeric': 0.14473684210526316, 'fraction_numerical': 0.018092105263157895, 'mean_word_length': 4.117647058823529, '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': '1907909', 'n_tokens_mistral': 247, 'n_tokens_neox': 235, 'n_words': 53}