<commit_before>FROM xena/nim:0.14.2

RUN apk update && apk add bash

EXPOSE 5000
RUN adduser -D -g '' r
RUN chmod a+x /opt/Nim/bin/nim

ADD . /app

WORKDIR /app
RUN nimble update &&\
    yes | nimble install &&\
    nim c -d:release --deadCodeElim:on ponyapi

USER r
CMD ./ponyapi<commit_msg>fix dockerfile<commit_after>FROM xena/nim:0.14.2

RUN apk update && apk add bash

EXPOSE 5000
RUN adduser -D -g '' r
RUN chmod a+x /opt/Nim/bin/nim

ADD . /app

WORKDIR /app
RUN nimble update &&\
    yes | nimble build &&\
    yes | nimble install &&\
    cp ~/.nimble/bin/ponyapi /usr/bin/ponyapi

USER r
CMD /usr/bin/ponyapi
{'fraction_non_alphanumeric': 0.1262135922330097, 'fraction_numerical': 0.025889967637540454, 'mean_word_length': 2.7515151515151515, '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': '280311', 'n_tokens_mistral': 272, 'n_tokens_neox': 257, 'n_words': 77}