<commit_before>FROM golang:latest
RUN apt-get update
RUN mkdir -p /go/src/github.com/geodan/gost/
ADD . /go/src/github.com/geodan/gost/src
RUN go get github.com/gorilla/mux
RUN go get gopkg.in/yaml.v2
RUN go get github.com/lib/pq
RUN go get github.com/gost/now
RUN go get github.com/eclipse/paho.mqtt.golang
RUN go build -o /go/bin/gost/gost github.com/geodan/gost/src
RUN cp /go/src/github.com/geodan/gost/src/config.yaml /go/bin/gost/config.yaml
WORKDIR /go/bin/gost
ENTRYPOINT ["/go/bin/gost/gost"]
EXPOSE 8080
<commit_msg>Update Dockerfile<commit_after>FROM golang:latest
RUN apt-get update
RUN mkdir -p /go/src/github.com/geodan/gost/
ADD . /go/src/github.com/geodan/gost/src
RUN go get github.com/gorilla/mux
RUN go get gopkg.in/yaml.v2
RUN go get github.com/lib/pq
RUN go get github.com/gost/now
RUN go get github.com/rs/cors
RUN go get github.com/eclipse/paho.mqtt.golang
RUN go build -o /go/bin/gost/gost github.com/geodan/gost/src
RUN cp /go/src/github.com/geodan/gost/src/config.yaml /go/bin/gost/config.yaml
WORKDIR /go/bin/gost
ENTRYPOINT ["/go/bin/gost/gost"]
EXPOSE 8080

{'fraction_non_alphanumeric': 0.13535911602209943, 'fraction_numerical': 0.009208103130755065, 'mean_word_length': 3.665236051502146, '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': '863164', 'n_tokens_mistral': 481, 'n_tokens_neox': 456, 'n_words': 99}