<commit_before>FROM tomcat:7-jre8-alpine

# biocache-properties section

RUN mkdir -p /data/biocache/layers /data/biocache/config

COPY biocache-properties-files/subgroups.json \
	/data/biocache/config/subgroups.json

RUN mkdir -m 0774 -p \
	/data/ala/layers/ready/shape \
	/data/biocache-load \
	/data/biocache-media \
	/data/biocache-upload \
	/data/biocache-delete \
	/data/cache \
	/data/tmp \
	/data/offline/exports \
	/data/tool \
	/data/biocache-download \
	/data/biocache-download/tmp

# biocache-service deployment section

COPY biocache-service-files/applicationContext.xml \
	/data/biocache/config/applicationContext.xml
COPY biocache-service-files/facets.json\
	/data/biocache/config/facets.json
COPY biocache-service-files/log4j.xml \
	/data/biocache/config/log4j.xml
COPY biocache-service-files/*.html \
		/data/biocache/

COPY biocache-service.war $CATALINA_HOME/webapps/

RUN chmod 755 /data/biocache-download
RUN chmod 777 /data/biocache-media
RUN chmod 777 /data/biocache-load<commit_msg>fix folder path<commit_after>FROM tomcat:7-jre8-alpine

# biocache-properties section

RUN mkdir -p /data/biocache/layers /data/biocache/config

COPY biocache-properties-files/subgroups.json \
	/data/biocache/config/subgroups.json

RUN mkdir -m 0774 -p \
	/data/ala/layers/ready/shape \
	/data/biocache-load \
	/data/biocache-media \
	/data/biocache-upload \
	/data/biocache-delete \
	/data/cache \
	/data/tmp \
	/data/offline/exports \
	/data/tool \
	/data/biocache-download \
	/data/biocache-download/tmp

# biocache-service deployment section

COPY biocache-service-files/applicationContext.xml \
	/data/biocache/config/applicationContext.xml
COPY biocache-service-files/facets.json\
	/data/biocache/config/facets.json
COPY biocache-service-files/log4j.xml \
	/data/biocache/config/log4j.xml
COPY biocache-service-files/*.html \
		/data/biocache/config/

COPY biocache-service.war $CATALINA_HOME/webapps/

RUN chmod 755 /data/biocache-download
RUN chmod 777 /data/biocache-media
RUN chmod 777 /data/biocache-load
{'fraction_non_alphanumeric': 0.1251855517070757, 'fraction_numerical': 0.01682335477486393, 'mean_word_length': 3.6164383561643834, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7455867', 'n_tokens_mistral': 831, 'n_tokens_neox': 788, 'n_words': 117}