<commit_before>FROM node:11.15.0 as build

WORKDIR /src
ADD ["package.json", "yarn.lock", "./"]

RUN yarn install

ADD [".", "."]

ARG ARGO_VERSION=latest
ENV ARGO_VERSION=$ARGO_VERSION
RUN NODE_ENV='production' yarn build

FROM alpine:3.7

COPY  --from=build ./src/dist/app /app<commit_msg>Parameterize Argo UI base image (#1813)<commit_after>ARG UI_BASE_IMAGE=alpine:3.7

FROM node:11.15.0 as build

WORKDIR /src
ADD ["package.json", "yarn.lock", "./"]

RUN yarn install

ADD [".", "."]

ARG ARGO_VERSION=latest
ENV ARGO_VERSION=$ARGO_VERSION
RUN NODE_ENV='production' yarn build

####################################################################################################
# Final UI Image
####################################################################################################
FROM $UI_BASE_IMAGE

COPY  --from=build ./src/dist/app /app
{'fraction_non_alphanumeric': 0.34610917537746805, 'fraction_numerical': 0.020905923344947737, 'mean_word_length': 6.12396694214876, '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': '7339962', 'n_tokens_mistral': 278, 'n_tokens_neox': 253, 'n_words': 63}