<commit_before>FROM golang

ADD . /go/src/github.com/admiralobvious/tinysyslog

RUN go get github.com/tools/godep
WORKDIR /go/src/github.com/admiralobvious/tinysyslog
RUN godep restore
RUN go install

RUN mkdir -p /logs

ENTRYPOINT /go/bin/tinysyslog --address 0.0.0.0:5140 --filesystem-filename /logs/syslog.log --log-file stdout

EXPOSE 5140 5140/udp<commit_msg>simplified Dockerfile<commit_after>FROM golang:onbuild

RUN mkdir /logs && chown nobody:nogroup -R /logs
USER nobody

EXPOSE 5140 5140/udp
CMD app --address 0.0.0.0:5140 --filesystem-filename /logs/syslog.log --log-file stdout
{'fraction_non_alphanumeric': 0.11186440677966102, 'fraction_numerical': 0.05423728813559322, 'mean_word_length': 4.094827586206897, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '6901890', 'n_tokens_mistral': 250, 'n_tokens_neox': 222, 'n_words': 53}