<commit_before>FROM alpine:latest
MAINTAINER Extra <<EMAIL>>

RUN apk update && \
    apk add --no-cache wget 
RUN wget --no-check-certificate -O /usr/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.1.3/dumb-init_1.1.3_amd64

COPY murmur.ini /etc/murmur.tpl
COPY murmur.x86 /usr/bin/murmur
COPY init.sh /usr/bin/init.sh

RUN adduser -D -u 1000 murmur && \
    mkdir -p /data /var/lib/murmur  && chown 1000 /data && \
    chown 1000 /var/lib/murmur && \
    chmod +x /usr/bin/dumb-init && \
    chmod +r /etc/murmur.tpl

VOLUME ["/data"]
EXPOSE 64738 64738/udp

CMD ["/usr/bin/dumb-init","/usr/bin/init.sh"]
<commit_msg>fix data folder issue<commit_after>FROM alpine:latest
MAINTAINER Extra <<EMAIL>>

RUN apk update && \
    apk add --no-cache wget 
RUN wget --no-check-certificate -O /usr/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.1.3/dumb-init_1.1.3_amd64

COPY murmur.ini /etc/murmur.tpl
COPY murmur.x86 /usr/bin/murmur
COPY init.sh /usr/bin/init.sh

RUN adduser -D -u 1000 murmur && \
    mkdir -p /data /var/lib/murmur  && chown 1000 /data && \
    chown 1000 /var/lib/murmur && \
    chmod +x /usr/bin/dumb-init && \
    chmod +r /etc/murmur.tpl && \
    chmod 777 /data

VOLUME ["/data"]
EXPOSE 64738 64738/udp

CMD ["/usr/bin/dumb-init","/usr/bin/init.sh"]

{'fraction_non_alphanumeric': 0.16603198781416603, 'fraction_numerical': 0.051028179741051026, 'mean_word_length': 2.7650429799426934, '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': '849865', 'n_tokens_mistral': 622, 'n_tokens_neox': 548, 'n_words': 118}