<commit_before>FROM openjdk:8-jre

WORKDIR /app

# ADD /app/google-java-format.jar

# https://github.com/google/google-java-format/releases/download/google-java-format-1.7/google-java-format-1.7-all-deps.jar
COPY google-java-format-1.7-all-deps.jar /usr/bin/google-java-format-all-deps.jar

# go build github.com/google/fmtserver/cmd/fmtserver
COPY fmtserver /usr/bin/fmtserver

# go get github.com/bazelbuild/buildtools/buildifier
COPY buildifier /usr/bin/buildifier

# ??
COPY /usr/bin/gofmt /usr/bin/gofmt

EXPOSE 80
CMD ["fmtserver",  "-port=80"]
<commit_msg>Copy gofmt from localdir<commit_after>FROM openjdk:8-jre

WORKDIR /app

# ADD /app/google-java-format.jar

# https://github.com/google/google-java-format/releases/download/google-java-format-1.7/google-java-format-1.7-all-deps.jar
COPY google-java-format-1.7-all-deps.jar /usr/bin/google-java-format-all-deps.jar

# go build github.com/google/fmtserver/cmd/fmtserver
COPY fmtserver /usr/bin/fmtserver

# go get github.com/bazelbuild/buildtools/buildifier
COPY buildifier /usr/bin/buildifier

# ??
COPY gofmt /usr/bin/gofmt

EXPOSE 80
CMD ["fmtserver",  "-port=80"]
{'fraction_non_alphanumeric': 0.14995563442768411, 'fraction_numerical': 0.019520851818988466, 'mean_word_length': 4.127272727272727, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4636411', 'n_tokens_mistral': 457, 'n_tokens_neox': 442, 'n_words': 63}