<commit_before>FROM tcurdt/busybox

ENV UPSTREAM_VERSION 1.0.0

RUN opkg-install \
    curl ca-certificates \
  && mkdir -p /srv/upstream \
  && curl -sL https://github.com/tcurdt/docker-upstream/releases/download/v${UPSTREAM_VERSION}/upstream_${UPSTREAM_VERSION}_linux_x86_64.tgz | zcat | tar -C /usr/bin -xf - \
  && opkg-cl remove \
    curl ca-certificates

VOLUME [ "/var/run/docker.sock", "/srv/upstream/generated" ]

COPY src/nginx.tpl /srv/upstream/nginx.tpl

WORKDIR /srv/upstream

ENTRYPOINT [ "upstream", "--output", "/srv/upstream/generated", "--reload", "nginx", "--template", "nginx.tpl" ]<commit_msg>fixed dockerfile<commit_after>FROM tcurdt/busybox

ENV UPSTREAM_VERSION 1.0.0

RUN opkg-install \
    curl ca-certificates \
  && mkdir -p /srv/upstream \
  && curl -sL https://github.com/tcurdt/docker-upstream/releases/download/${UPSTREAM_VERSION}/upstream_${UPSTREAM_VERSION}_linux_x86_64.tgz | zcat | tar -C /usr/bin -xf - \
  && opkg-cl remove \
    curl ca-certificates

VOLUME [ "/var/run/docker.sock", "/srv/upstream/generated" ]

COPY src/upstream/nginx.tpl /srv/upstream/nginx.tpl

WORKDIR /srv/upstream

ENTRYPOINT [ "upstream", "--output", "/srv/upstream/generated", "--reload", "nginx", "--template", "nginx.tpl" ]
{'fraction_non_alphanumeric': 0.16841257050765512, 'fraction_numerical': 0.011281224818694601, 'mean_word_length': 3.6867924528301885, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5055503', 'n_tokens_mistral': 487, 'n_tokens_neox': 474, 'n_words': 81}