<commit_before>FROM ruby:2.1

MAINTAINER PyConUK Organisers
# Based heavily on grahamc/jekyll

COPY . /pyconuk/
WORKDIR /pyconuk/

RUN apt-get update \
    && apt-get install -y node python-pygments \
    && apt-get clean \
    && apt-get autoremove -y \
    && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
    && gem install \
        bundler \
        html-proofer \
        jekyll \
        jekyll-redirect-from \
        kramdown \
        rdiscount \
        rouge \
        rvm \
    && bundle install

EXPOSE 4000

ENTRYPOINT ["bundle", "exec", "jekyll", "serve", "-w"]<commit_msg>Update Dockerfile from @doismellburning & @inglesp<commit_after>FROM ruby:2.1

RUN mkdir -p /opt/pyconuk/site
WORKDIR /opt/pyconuk/site

RUN apt-get update && \
        apt-get install --yes \
                node

COPY Gemfile /opt/pyconuk/site/
COPY Gemfile.lock /opt/pyconuk/site/
RUN bundle install

EXPOSE 4000

VOLUME /opt/pyconuk/site

CMD ["bundle", "exec", "jekyll", "serve", "--watch", "--host", "0.0.0.0", "--force_polling"]
{'fraction_non_alphanumeric': 0.1442495126705653, 'fraction_numerical': 0.015594541910331383, 'mean_word_length': 2.229559748427673, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '39865', 'n_tokens_mistral': 388, 'n_tokens_neox': 366, 'n_words': 91}