<commit_before>FROM ruby:2.2.3

# deps
RUN apt-get update -qq && apt-get install -y build-essential nodejs npm nodejs-legacy

# Environment variables
ENV APP_HOME=/lunchiatto
ENV BUNDLE_WITHOUT=development:test
ENV BUNDLE_FROZEN=true
RUN bundle config --global jobs 8

# setup the directory
RUN mkdir $APP_HOME
WORKDIR $APP_HOME

COPY Gemfile* ${APP_HOME}/
WORKDIR /tmp
RUN bundle install

#copy code
ADD . $APP_HOME

#precompile assets
RUN rake assets:precompile
<commit_msg>Remove unnecessary WORKDIR call from production.Dockerfile<commit_after>FROM ruby:2.2.3

# deps
RUN apt-get update -qq && apt-get install -y build-essential nodejs npm nodejs-legacy

# Environment variables
ENV APP_HOME=/lunchiatto
ENV BUNDLE_WITHOUT=development:test
ENV BUNDLE_FROZEN=true
RUN bundle config --global jobs 8

# setup the directory
RUN mkdir $APP_HOME
WORKDIR $APP_HOME

COPY Gemfile* ${APP_HOME}/
RUN bundle install

#copy code
ADD . $APP_HOME

#precompile assets
RUN rake assets:precompile

{'fraction_non_alphanumeric': 0.07520325203252033, 'fraction_numerical': 0.008130081300813009, 'mean_word_length': 5.15625, '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': '5792729', 'n_tokens_mistral': 349, 'n_tokens_neox': 333, 'n_words': 109}