<commit_before>FROM buildpack-deps:jessie-curl
ENV LOGKIT_VERSION nightly
RUN wget https://pandora-dl.qiniu.com/logkit_${LOGKIT_VERSION}.tar.gz && tar xvf logkit_${LOGKIT_VERSION}.tar.gz && rm logkit_${LOGKIT_VERSION}.tar.gz
RUN mkdir /app
RUN mkdir /logs
RUN mv _package_linux64_${LOGKIT_VERSION}/* /app
RUN sed -i -- 's/localhost//g' /app/logkit.conf
VOLUME /app/confs
VOLUME /logs
EXPOSE 3000
WORKDIR /app
ENTRYPOINT ["/app/logkit","-f","logkit.conf"]<commit_msg>fix dockerfile<commit_after>FROM buildpack-deps:jessie-curl
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENV LOGKIT_VERSION nightly
RUN wget https://pandora-dl.qiniu.com/logkit_${LOGKIT_VERSION}.tar.gz && tar xvf logkit_${LOGKIT_VERSION}.tar.gz && rm logkit_${LOGKIT_VERSION}.tar.gz
RUN mkdir /app
RUN mkdir /logs
RUN mv _package_linux64_${LOGKIT_VERSION}/public /app/public
RUN mv _package_linux64_${LOGKIT_VERSION}/logkit /app/logkit
RUN mv _package_linux64_${LOGKIT_VERSION}/logkit.conf /app/logkit.conf
RUN mv _package_linux64_${LOGKIT_VERSION}/confs /app/confs

RUN sed -i -- 's/localhost//g' /app/logkit.conf
VOLUME /app/confs
VOLUME /logs
EXPOSE 3000
WORKDIR /app
ENTRYPOINT ["/app/logkit","-f","logkit.conf"]
{'fraction_non_alphanumeric': 0.1383067896060352, 'fraction_numerical': 0.015088013411567477, 'mean_word_length': 5.351063829787234, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1134631', 'n_tokens_mistral': 492, 'n_tokens_neox': 474, 'n_words': 92}