<commit_before>############################################################################
# Dockerfile to build AWS deployment node-app-template container image
# 
###########################################################################

FROM thehackerati/node-base:latest

# Use changes to package.json to force Docker not to use the cache
# when we change our application's nodejs dependencies:
ADD package.json /tmp/package.json
RUN cd /tmp && npm install
RUN mkdir -p /opt/app && cp -a /tmp/node_modules /opt/app/
 
# From here, we load our application's code so the previous docker "layer"
# that was cached will be used if possible
WORKDIR /opt/app<commit_msg>Use default node 4.x image<commit_after>############################################################################
# Dockerfile to build AWS deployment node-app-template container image
# 
###########################################################################

FROM node:argon

# Use changes to package.json to force Docker not to use the cache
# when we change our application's nodejs dependencies:
ADD package.json /tmp/package.json
RUN cd /tmp && npm install
RUN mkdir -p /opt/app && cp -a /tmp/node_modules /opt/app/
 
# From here, we load our application's code so the previous docker "layer"
# that was cached will be used if possible
WORKDIR /opt/app
{'fraction_non_alphanumeric': 0.2866766467065868, 'fraction_numerical': 0.0007485029940119761, 'mean_word_length': 5.427884615384615, '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': '1722156', 'n_tokens_mistral': 338, 'n_tokens_neox': 314, 'n_words': 139}