<commit_before>namespace :container do
  desc 'build test Docker container'
  task :build do
    sh('docker build -t meme_captain_test .')
  end

  desc 'start test Docker container'
  task start: :build do
    sh('docker run ' \
      '--detach ' \
      '--env RAILS_ENV=production ' \
      '--env SECRET_KEY_BASE=secret ' \
      '--name meme_captain_test ' \
      '--privileged=true ' \<commit_msg>Set RACK_ENV in container test<commit_after>namespace :container do
  desc 'build test Docker container'
  task :build do
    sh('docker build -t meme_captain_test .')
  end

  desc 'start test Docker container'
  task start: :build do
    sh('docker run ' \
      '--detach ' \
      '--env RACK_ENV=production ' \
      '--env RAILS_ENV=production ' \
      '--env SECRET_KEY_BASE=secret ' \
      '--name meme_captain_test ' \
      '--privileged=true ' \
{'fraction_non_alphanumeric': 0.12064965197215777, 'fraction_numerical': 0.0, 'mean_word_length': 2.508130081300813, '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': '2725870', 'n_tokens_mistral': 305, 'n_tokens_neox': 289, 'n_words': 76}