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

ENV GID=4000 UID=4000

RUN apk -U add \
    bash \
    curl \
    nginx \
    php7 \
    php7-fpm \
    php7-gd \
    php7-mcrypt \
    php7-json \
    php7-zlib \
    supervisor \
    tini \
    ca-certificates \
    tar \

 && mkdir jirafeau && cd jirafeau \
 && curl -L -o jirafeau.tar.gz https://gitlab.com/mojo42/Jirafeau/repository/archive.tar.gz \
 && tar xvzf jirafeau.tar.gz --strip 1 \
 && rm jirafeau.tar.gz \

 # Make sure search engines do not index the site, to prevent abuse.
 && sed -i '/<\/head>/i<meta name="robots" content="noindex, follow" />' /jirafeau/lib/template/header.php \

 && apk del tar ca-certificates curl libcurl \
 && rm -f /var/cache/apk/*

COPY files/nginx.conf /etc/nginx/nginx.conf
COPY files/php-fpm.conf /etc/php7/php-fpm.conf
COPY files/supervisord.conf /usr/local/etc/supervisord.conf
COPY entrypoint.sh /

RUN chmod +x /entrypoint.sh

VOLUME [ "/data", "/cfg" ]

EXPOSE 80
LABEL description "Jirafeau is a web site permitting to upload a file in a simple way and give an unique link to it."
CMD ["/sbin/tini","--","/entrypoint.sh"]<commit_msg>Copy-paste errrrrr<commit_after>FROM alpine:latest
MAINTAINER <NAME> <<EMAIL>>

ENV GID=4000 UID=4000

RUN apk -U add \
    bash \
    curl \
    nginx \
    php7 \
    php7-fpm \
    php7-gd \
    php7-mcrypt \
    php7-json \
    php7-zlib \
    supervisor \
    tini \
    ca-certificates \
    tar \

 && mkdir jirafeau && cd jirafeau \
 && curl -L -o jirafeau.tar.gz https://gitlab.com/mojo42/Jirafeau/repository/archive.tar.gz \
 && tar xvzf jirafeau.tar.gz --strip 1 \
 && rm jirafeau.tar.gz \

 # Make sure search engines do not index the site, to prevent abuse.
 && sed -i '/<\/head>/i<meta name="robots" content="noindex, nofollow" />' /jirafeau/lib/template/header.php \

 && apk del tar ca-certificates curl libcurl \
 && rm -f /var/cache/apk/*

COPY files/nginx.conf /etc/nginx/nginx.conf
COPY files/php-fpm.conf /etc/php7/php-fpm.conf
COPY files/supervisord.conf /usr/local/etc/supervisord.conf
COPY entrypoint.sh /

RUN chmod +x /entrypoint.sh

VOLUME [ "/data", "/cfg" ]

EXPOSE 80
LABEL description "Jirafeau is a web site permitting to upload a file in a simple way and give an unique link to it."
CMD ["/sbin/tini","--","/entrypoint.sh"]
{'fraction_non_alphanumeric': 0.1418655097613883, 'fraction_numerical': 0.01735357917570499, 'mean_word_length': 2.6661367249602543, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '5843929', 'n_tokens_mistral': 938, 'n_tokens_neox': 878, 'n_words': 228}