<commit_before># start with Alpine Linux Base image
# NOTE: change 'ARG IMG_VER="..."' statement to preferred Node.js image
ARG IMG_VER="8.6.0-alpine"
FROM node:${IMG_VER}
LABEL maintainer="<NAME> <<EMAIL>>"

# NOTE: if user created, change APP_PATH to user's workspace
ARG APP_PATH="/opt/app"
ARG APP_SOURCE="app.tar.gz"
ARG NODE_ENV
ARG PORT

# set environment variables
ENV NODE_ENV="${NODE_ENV:-production}" \
    PORT="${PORT:-3000}"

# Project code
# NOTE: APP_SOURCE can use build process compressed output for smaller production builds
ADD ${APP_SOURCE} ${APP_PATH}

# change to workspace and run project install script
WORKDIR ${APP_PATH}
RUN apk add --update bash-completion && bash ./bin/install<commit_msg>updating to node v8.7.0<commit_after># start with Alpine Linux Base image
# NOTE: change 'ARG IMG_VER="..."' statement to preferred Node.js image
ARG IMG_VER="8.7.0-alpine"
FROM node:${IMG_VER}
LABEL maintainer="<NAME> <<EMAIL>>"

# NOTE: if user created, change APP_PATH to user's workspace
ARG APP_PATH="/opt/app"
ARG APP_SOURCE="app.tar.gz"
ARG NODE_ENV
ARG PORT

# set environment variables
ENV NODE_ENV="${NODE_ENV:-production}" \
    PORT="${PORT:-3000}"

# Project code
# NOTE: APP_SOURCE can use build process compressed output for smaller production builds
ADD ${APP_SOURCE} ${APP_PATH}

# change to workspace and run project install script
WORKDIR ${APP_PATH}
RUN apk add --update bash-completion && bash ./bin/install
{'fraction_non_alphanumeric': 0.12171507607192254, 'fraction_numerical': 0.011756569847856155, 'mean_word_length': 5.13135593220339, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '6023095', 'n_tokens_mistral': 480, 'n_tokens_neox': 453, 'n_words': 162}