<commit_before>FROM docker.io/library/alpine:latest

ENV SSL_CRT=/ssl/fullchain.pem
ENV SSL_KEY=/ssl/privkey.pem
ENV SSL_DHP=/ssl/dhparam.pem
ENV CXXFLAGS=

RUN apk update && \
    apk upgrade && \
    apk add dumb-init g++ ca-certificates znc znc-dev znc-extra

ADD entrypoint.sh /entrypoint.sh
ADD znc.conf.default /znc.conf.default

# Cheat a little bit, we need to let apk run even with --user
RUN mkdir -pv /ssl /data/configs && \
    chmod -Rv 0775 /data /ssl && \
    chmod u+s /sbin/apk

VOLUME ["/data"]
VOLUME ["/ssl"]

EXPOSE 6667

ENTRYPOINT ["/usr/bin/dumb-init"]
CMD ["/entrypoint.sh"]<commit_msg>Hopefully passing the right params to entrypoint<commit_after>FROM docker.io/library/alpine:latest

ENV SSL_CRT=/ssl/fullchain.pem
ENV SSL_KEY=/ssl/privkey.pem
ENV SSL_DHP=/ssl/dhparam.pem
ENV CXXFLAGS=

RUN apk update && \
    apk upgrade && \
    apk add dumb-init g++ ca-certificates znc znc-dev znc-extra

ADD entrypoint.sh /entrypoint.sh
ADD znc.conf.default /znc.conf.default

# Cheat a little bit, we need to let apk run even with --user
RUN mkdir -pv /ssl /data/configs && \
    chmod -Rv 0775 /data /ssl && \
    chmod u+s /sbin/apk

VOLUME ["/data"]
VOLUME ["/ssl"]

EXPOSE 6667

ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["/entrypoint.sh"]
{'fraction_non_alphanumeric': 0.1369754552652415, 'fraction_numerical': 0.012668250197941409, 'mean_word_length': 3.27027027027027, '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': '1001799', 'n_tokens_mistral': 520, 'n_tokens_neox': 488, 'n_words': 135}