<commit_before>FROM python:3
MAINTAINER yuuki0xff <<EMAIL>>
EXPOSE 8000
VOLUME /srv
ADD entrypoint /

RUN set -euv && \
    useradd saku && \
    mkdir -p /opt/saku /srv && \
    chown saku:saku /srv && \
    \
    cd /opt/saku && \
    git clone --depth=1 https://github.com/shingetsu/saku . && \
    mv file file.original && \
    ln -s /srv/cache . && \
    ln -s /srv/file . && \
    ln -s /srv/log . && \
    ln -s /srv/run .
ADD ./saku.ini ./spam.txt /opt/saku/file.original/

USER saku
ENTRYPOINT ["/entrypoint"]
CMD ["python3", "/opt/saku/saku.py"]
<commit_msg>workaround copy fails bug; https://github.com/docker/docker/issues/25925<commit_after>FROM python:3
MAINTAINER yuuki0xff <<EMAIL>>
EXPOSE 8000
VOLUME /srv
ADD ./entrypoint /usr/local/bin

RUN set -euv && \
    useradd saku && \
    mkdir -p /opt/saku /srv && \
    chown saku:saku /srv && \
    \
    cd /opt/saku && \
    git clone --depth=1 https://github.com/shingetsu/saku . && \
    mv file file.original && \
    ln -s /srv/cache . && \
    ln -s /srv/file . && \
    ln -s /srv/log . && \
    ln -s /srv/run .
ADD ./saku.ini ./spam.txt /opt/saku/file.original/

USER saku
ENTRYPOINT ["/usr/local/bin/entrypoint"]
CMD ["python3", "/opt/saku/saku.py"]

{'fraction_non_alphanumeric': 0.18270799347471453, 'fraction_numerical': 0.017128874388254486, 'mean_word_length': 2.075187969924812, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 3, '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': '7500253', 'n_tokens_mistral': 531, 'n_tokens_neox': 503, 'n_words': 115}