<commit_before>prpLookup += baseDirectory.value.getParentFile -> "alpine"

imageNames in docker := Seq(ImageName(prp.value("python2")))

dockerfile in docker := {
  val apk =
    alpineBuild.toTask(" @abuild py-uwsgi.sh py-uwsgi.apk").value
  new Dockerfile {
    from(prp.value("base"))
    runRaw(s"apk add sqlite python2 py2-pip py-psycopg2")
    copy(apk, "/tmp/")
    runRaw("apk add --allow-untrusted /tmp/*.apk  && rm /tmp/*.apk")
    env("UWSGI_PROCESSES", "4")
    env("UWSGI_THREADS", "2")
    //runRaw("django-admin startproject hello /home")
    //copy(baseDirectory.value / "run.sh", "/services/django/run")
    //runRaw(s"""pip install --upgrade setuptools "django==${prp.value("django.ver")}" django-extensions""")
    //env("DJANGO_APP", "hello")
    //expose(8000, 8001)
  }
}
<commit_msg>adding py-pillow<commit_after>prpLookup += baseDirectory.value.getParentFile -> "alpine"

imageNames in docker := Seq(ImageName(prp.value("python2")))

dockerfile in docker := {
  val apk =
    alpineBuild.toTask(" @abuild py-uwsgi.sh py-uwsgi.apk").value
  new Dockerfile {
    from(prp.value("base"))
    runRaw(s"apk add sqlite python2 py2-pip py-psycopg2 py-pillow")
    copy(apk, "/tmp/")
    runRaw("apk add --allow-untrusted /tmp/*.apk  && rm /tmp/*.apk")
    env("UWSGI_PROCESSES", "4")
    env("UWSGI_THREADS", "2")
    //runRaw("django-admin startproject hello /home")
    //copy(baseDirectory.value / "run.sh", "/services/django/run")
    //runRaw(s"""pip install --upgrade setuptools "django==${prp.value("django.ver")}" django-extensions""")
    //env("DJANGO_APP", "hello")
    //expose(8000, 8001)
  }
}

{'fraction_non_alphanumeric': 0.19076923076923077, 'fraction_numerical': 0.01723076923076923, 'mean_word_length': 3.740524781341108, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6177801', 'n_tokens_mistral': 655, 'n_tokens_neox': 604, 'n_words': 110}