<commit_before>FROM heroku/heroku:18-build

WORKDIR /app
ENV WORKSPACE_DIR=/app/support/build
ENV PATH=/app/support/build/_util:$PATH
ENV S3_BUCKET=lang-php
ENV S3_PREFIX=dist-heroku-18-develop/
ENV S3_REGION=s3
ENV STACK=heroku-18
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y python-pip

COPY requirements.txt /app/requirements.txt

RUN pip install -r /app/requirements.txt

COPY . /app
<commit_msg>Revert "drop heroku-18.Dockerfile openssl 1.1.1 upgrade prevention workaround"<commit_after>FROM heroku/heroku:18-build

WORKDIR /app
ENV WORKSPACE_DIR=/app/support/build
ENV PATH=/app/support/build/_util:$PATH
ENV S3_BUCKET=lang-php
ENV S3_PREFIX=dist-heroku-18-develop/
ENV S3_REGION=s3
ENV STACK=heroku-18
ENV DEBIAN_FRONTEND=noninteractive

# pin to package versions from bionic-security for now so that the install doesn't bump libssl to 1.1.1
# RUN apt-get update && apt-get install -y python-pip
RUN apt-get update && apt-get install --no-install-recommends -y python-pip-whl=9.0.1-2 python-pip=9.0.1-2 python-setuptools python-wheel

COPY requirements.txt /app/requirements.txt

RUN pip install -r /app/requirements.txt

COPY . /app

{'fraction_non_alphanumeric': 0.10571184995737426, 'fraction_numerical': 0.030690537084398978, 'mean_word_length': 4.644230769230769, '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': '6877280', 'n_tokens_mistral': 454, 'n_tokens_neox': 428, 'n_words': 105}