<commit_before>FROM ruby:2.3.3

ENV APP_HOME /code

RUN mkdir $APP_HOME
WORKDIR $APP_HOME

# Headers needed
RUN apt-get update && apt-get install -y libpq-dev postgresql-server-dev-9.4 lua5.1

COPY Gemfile* $APP_HOME/
COPY *.gemspec $APP_HOME/
COPY lib/classless_mud/version.rb $APP_HOME/lib/classless_mud/

RUN bundle install

EXPOSE 2000

COPY . $APP_HOME/<commit_msg>Adding liblua requirement and environment variable<commit_after>FROM ruby:2.3.3

ENV APP_HOME /code

RUN mkdir $APP_HOME
WORKDIR $APP_HOME

# Headers needed
RUN apt-get update && apt-get install -y libpq-dev postgresql-server-dev-9.4 lua5.1 liblua5.1-0
ENV LUA_LIB /usr/lib/x86_64-linux-gnu/liblua5.1.so.0

COPY Gemfile* $APP_HOME/
COPY *.gemspec $APP_HOME/
COPY lib/classless_mud/version.rb $APP_HOME/lib/classless_mud/

RUN bundle install

EXPOSE 2000

COPY . $APP_HOME/
{'fraction_non_alphanumeric': 0.10332541567695962, 'fraction_numerical': 0.03800475059382423, 'mean_word_length': 4.30188679245283, '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': '280427', 'n_tokens_mistral': 360, 'n_tokens_neox': 326, 'n_words': 82}