<commit_before>FROM openjdk:8-jre
MAINTAINER <NAME> <<EMAIL>>

WORKDIR /opt/docker

# ---------------- #
#   Installation   #
# ---------------- #

ADD stage/opt /opt
# can now be done with envsubst in entrypoint.sh:
# RUN echo '\nplay.crypto.secret=${?APPLICATION_SECRET}' >> conf/application.conf

# ----------------- #
#   Configuration   #
# ----------------- #

EXPOSE 9000

# ----------- #
#   Cleanup   #
# ----------- #

RUN apt-get autoremove -y && apt-get -y clean && \
		rm -rf /var/lib/apt/lists/*

# -------- #
#   Run!   #
# -------- #

ENTRYPOINT ["entrypoint.sh"]
# CMD ["bin/nlp-services"]<commit_msg>Dockerfile now install gettext (needed for envsubst)<commit_after>FROM openjdk:8-jre
MAINTAINER <NAME> <<EMAIL>>

WORKDIR /opt/docker

# ---------------- #
#   Installation   #
# ---------------- #

ADD stage/opt /opt
# can now be done with envsubst in entrypoint.sh:
# RUN echo '\nplay.crypto.secret=${?APPLICATION_SECRET}' >> conf/application.conf

# ----------------- #
#   Configuration   #
# ----------------- #

EXPOSE 9000

# ----------- #
#   Cleanup   #
# ----------- #

RUN apt-get update && \
    apt-get install -y gettext && \
		apt-get autoremove -y && \
		apt-get -y clean && \
		rm -rf /var/lib/apt/lists/*

# -------- #
#   Run!   #
# -------- #

ENTRYPOINT ["entrypoint.sh"]
# CMD ["bin/nlp-services"]
{'fraction_non_alphanumeric': 0.2931937172774869, 'fraction_numerical': 0.0074794315632011965, 'mean_word_length': 1.6547619047619047, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, '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': '6378973', 'n_tokens_mistral': 482, 'n_tokens_neox': 455, 'n_words': 95}