<commit_before>FROM python:3-alpine

RUN apk add --update --no-cache libffi-dev openssl-dev python3-dev py-pip build-base tzdata ffmpeg unrar p7zip su-exec shadow libstdc++
RUN pip install --no-cache-dir --prefix /install -r requirements.txt

RUN addgroup -S -g 6006 premiumizer
RUN adduser -S -D -u 6006 -G premiumizer -s /bin/sh premiumizer

VOLUME /conf
EXPOSE 5000

ENTRYPOINT ["/bin/sh","/app/docker-entrypoint.sh"]
CMD ["/usr/local/bin/python", "/premiumizer/premiumizer.py"]
<commit_msg>dockerfile<commit_after>FROM python:3-alpine

WORKDIR /app
COPY requirements.txt requirements.txt
COPY premiumizer .

RUN apk add --update --no-cache libffi-dev openssl-dev python3-dev py-pip build-base tzdata ffmpeg p7zip su-exec shadow libstdc++
RUN pip install --no-cache-dir -r requirements.txt

RUN addgroup -S -g 6006 premiumizer
RUN adduser -S -D -u 6006 -G premiumizer -s /bin/sh premiumizer

VOLUME /conf
EXPOSE 5000

ENTRYPOINT ["/bin/sh","docker-entrypoint.sh"]
CMD ["/usr/local/bin/python", "premiumizer.py"]

{'fraction_non_alphanumeric': 0.12315270935960591, 'fraction_numerical': 0.029556650246305417, 'mean_word_length': 3.9320388349514563, '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': '4382613', 'n_tokens_mistral': 392, 'n_tokens_neox': 357, 'n_words': 110}