<commit_before>FROM microsoft/dotnet:1.1.1-runtime-deps
LABEL maintainer="Senorsen <<EMAIL>>"
WORKDIR /dotnetapp
RUN mkdir -p /dotnetapp

ENV GITHUB_REPO_FULL_NAME GyrosWorkshop/Wukong
RUN DOWNLOAD_URL=$(curl -sL https://api.github.com/repos/${GITHUB_REPO_FULL_NAME}/releases | grep browser_download_url | head -n1 | sed 's/"//g' | awk '{ print $2 }' | xargs) && \
    echo "Latest Url: ${DOWNLOAD_URL}" && \
    curl -sL "${DOWNLOAD_URL}" | tar xzv && \
    chmod +x wukong-dist_linux-x64/Wukong

COPY start.sh /
RUN chmod +x /start.sh
COPY appsettings.template.json .

EXPOSE 5000
CMD ["/start.sh"]
<commit_msg>Fix curl missing<commit_after>FROM microsoft/dotnet:1.1.1-runtime-deps
LABEL maintainer="Senorsen <<EMAIL>>"
WORKDIR /dotnetapp
RUN mkdir -p /dotnetapp

RUN apt-get install -y --no-install-recommends curl && \
    rm -rf /var/lib/apt/lists/*

ENV GITHUB_REPO_FULL_NAME GyrosWorkshop/Wukong
RUN DOWNLOAD_URL=$(curl -sL https://api.github.com/repos/${GITHUB_REPO_FULL_NAME}/releases | grep browser_download_url | head -n1 | sed 's/"//g' | awk '{ print $2 }' | xargs) && \
    echo "Latest Url: ${DOWNLOAD_URL}" && \
    curl -sL "${DOWNLOAD_URL}" | tar xzv && \
    chmod +x wukong-dist_linux-x64/Wukong

COPY start.sh /
RUN chmod +x /start.sh
COPY appsettings.template.json .

EXPOSE 5000
CMD ["/start.sh"]

{'fraction_non_alphanumeric': 0.15314632297194844, 'fraction_numerical': 0.016679302501895376, 'mean_word_length': 3.8529411764705883, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4382526', 'n_tokens_mistral': 543, 'n_tokens_neox': 518, 'n_words': 115}