<commit_before># see https://hub.docker.com/_/python/
FROM python:3.5.0-slim

# Prepare the environment
RUN pip install --no-cache --upgrade pip
RUN mkdir /app
COPY LICENSE /app/
COPY requirements.txt /app/

# install the environment
RUN cd /app && \
    pip install --no-cache -r requirements.txt

COPY first_timer_scraper /app/first_timer_scraper

# Prepare execution
EXPOSE 80
WORKDIR /app/
ENV PYTHONUNBUFFERED 0
VOLUME ["/app/secret", "/app/model"]

ENTRYPOINT ["python3", "-m", "first_timer_scraper.app"]
CMD ["/tmp/cache", "/app/secret", "/app/model"]<commit_msg>installing git on alpine linux<commit_after># see https://hub.docker.com/_/python/
FROM python:3.5.0-alpine

# Prepare the environment
RUN pip install --no-cache --upgrade pip
RUN mkdir /app
COPY LICENSE /app/
COPY requirements.txt /app/

# install the environment
RUN cd /app && \
    pip install --no-cache -r requirements.txt
# see http://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management
RUN apk add git && \
    apk -v cache clean

COPY first_timer_scraper /app/first_timer_scraper

# Prepare execution
EXPOSE 80
WORKDIR /app/
ENV PYTHONUNBUFFERED 0
VOLUME ["/app/secret", "/app/model"]

ENTRYPOINT ["python3", "-m", "first_timer_scraper.app"]
CMD ["/tmp/cache", "/app/secret", "/app/model"]
{'fraction_non_alphanumeric': 0.13814756671899528, 'fraction_numerical': 0.01098901098901099, 'mean_word_length': 3.941860465116279, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3765702', 'n_tokens_mistral': 464, 'n_tokens_neox': 441, 'n_words': 127}