<commit_before>FROM tomcat:7-jre8-alpine

RUN mkdir -p /data/layers-store/config \
  /data/layers-service/config \
  /data/layers-service/batch_requests \
  /data/ala/data/layers/raw \
  /data/ala/data/layers/ready/shape \
  /data/ala/data/layers/ready/shape_diva \
  /data/ala/data/layers/ready/diva \
  /data/ala/data/layers/analysis/tmp

COPY layers-service.war $CATALINA_HOME/webapps/
VOLUME /data

ENV \
	BUILD_DEPS="gettext" \
	RUNTIME_DEPS="libintl"

RUN \
    apk add --update $RUNTIME_DEPS && \
    apk add --virtual build_deps $BUILD_DEPS &&  \
    cp /usr/bin/envsubst /usr/local/bin/envsubst && \
    apk del build_deps

RUN apk add --update tini
ENTRYPOINT ["tini", "--"]
CMD ["catalina.sh", "run"]<commit_msg>change base to debian and install gdal-bin<commit_after>FROM tomcat:7-jre8

RUN apt-get update && apt-get install -y gettext-base gdal-bin

RUN mkdir -p /data/layers-store/config \
  /data/layers-service/config \
  /data/layers-service/batch_requests \
  /data/ala/data/layers/raw \
  /data/ala/data/layers/ready/shape \
  /data/ala/data/layers/ready/shape_diva \
  /data/ala/data/layers/ready/diva \
  /data/ala/data/layers/analysis/tmp \
  /data/ala/runtime/output

COPY layers-service.war $CATALINA_HOME/webapps/
VOLUME /data

CMD ["catalina.sh", "run"]
{'fraction_non_alphanumeric': 0.15011727912431588, 'fraction_numerical': 0.003127443315089914, 'mean_word_length': 3.1157556270096465, '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': '1517700', 'n_tokens_mistral': 509, 'n_tokens_neox': 493, 'n_words': 82}