<commit_before>FROM openjdk:8 as builder

RUN apt-get update && apt-get install -y wget \
    && wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
    && dpkg -i google-chrome-stable_current_amd64.deb; apt-get -fy install

ENV CI=true

COPY . datahub-src
RUN cd datahub-src && ./gradlew :datahub-frontend:dist \
    && cp datahub-frontend/build/distributions/datahub-frontend.zip ../datahub-frontend.zip \
    && cd .. && rm -rf datahub-src && unzip datahub-frontend.zip

FROM openjdk:8-jre-alpine

COPY --from=builder /datahub-frontend /datahub-frontend/
EXPOSE 9001

ENV JAVA_OPTS=" \
	-Xms512m \<commit_msg>fix (docker): Fix install of Chrome in frontend Dockerimage (#1889)<commit_after>FROM openjdk:8 as builder

RUN apt-get update && apt-get install -y wget \
    && wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
    && apt-get -y install ./google-chrome-stable_current_amd64.deb

ENV CI=true

COPY . datahub-src
RUN cd datahub-src && ./gradlew :datahub-frontend:dist \
    && cp datahub-frontend/build/distributions/datahub-frontend.zip ../datahub-frontend.zip \
    && cd .. && rm -rf datahub-src && unzip datahub-frontend.zip

FROM openjdk:8-jre-alpine

COPY --from=builder /datahub-frontend /datahub-frontend/
EXPOSE 9001

ENV JAVA_OPTS=" \
	-Xms512m \
{'fraction_non_alphanumeric': 0.1355421686746988, 'fraction_numerical': 0.022590361445783132, 'mean_word_length': 3.474747474747475, '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': '4208822', 'n_tokens_mistral': 518, 'n_tokens_neox': 478, 'n_words': 103}