<commit_before>FROM debian:latest
MAINTAINER MoD <<EMAIL>>

ENV HUGO_VERSION=0.16

RUN apt-get update -y \
      && apt-get install -y \
      wget git ca-certificates \
      && rm -rf /var/lib/apt/lists/*

RUN wget https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-64bit.tgz && \
      tar xzf hugo_${HUGO_VERSION}_linux-64bit.tgz && \
      rm -r hugo_${HUGO_VERSION}_linux-64bit.tgz && \
      mv hugo /usr/local/bin/hugo

RUN groupadd web
RUN useradd -g web -m web

USER web
ADD . /home/web

WORKDIR /home/web

EXPOSE 1313

ENTRYPOINT ["hugo"]

CMD ["server"]<commit_msg>Fixed "permission denied" on hugo config file<commit_after>FROM debian:latest
MAINTAINER MoD <<EMAIL>>

ENV HUGO_VERSION=0.16

RUN apt-get update -y \
      && apt-get install -y \
      wget git ca-certificates \
      && rm -rf /var/lib/apt/lists/*

RUN wget https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-64bit.tgz && \
      tar xzf hugo_${HUGO_VERSION}_linux-64bit.tgz && \
      rm -r hugo_${HUGO_VERSION}_linux-64bit.tgz && \
      mv hugo /usr/local/bin/hugo

RUN groupadd web
RUN useradd -g web -m web

ADD . /home/web
RUN chown web /home/web -R
USER web

WORKDIR /home/web

EXPOSE 1313

ENTRYPOINT ["hugo"]

CMD ["server"]
{'fraction_non_alphanumeric': 0.13667953667953667, 'fraction_numerical': 0.023166023166023165, 'mean_word_length': 3.0123839009287927, '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': '6293381', 'n_tokens_mistral': 547, 'n_tokens_neox': 504, 'n_words': 116}