<commit_before>FROM hypriot/rpi-node:latest
MAINTAINER <NAME> <<EMAIL>>

# use changes to package.json to force Docker not to use the cache
# when we change our application's nodejs dependencies:
RUN mkdir /temp
RUN mkdir /app
RUN git clone https://github.com/estebanrfp/iotos.git /app/
ADD package.json /tmp/package.json
RUN cd /tmp && npm i --production
RUN npm i -g pm2
RUN cp -a /tmp/node_modules /app/

# From here we load our application's code in, therefore the previous docker
# "layer" thats been cached will be used if possible
WORKDIR /app
ADD . /app

CMD ["pm2-dev", "process.yml"]<commit_msg>update project<commit_after># Dockerfile
FROM hypriot/rpi-alpine-node:latest
# FROM hypriot/rpi-node:latest
MAINTAINER <NAME> <<EMAIL>>

# Set environment variables

# ENV appDir /var/www/app/current
RUN apt-get install -y \
    git-core \
    wget \
    --no-install-recommends && \
    rm -rf /var/lib/apt/lists/*

# Define working directory
WORKDIR /data

RUN git clone https://github.com/estebanrfp/iotos.git /data/
# Add our package.json and install *before* adding our application files
# ADD package.json ./

RUN npm i --production

RUN npm i -g pm2

# Add application files
# ADD . /data

# CMD ["pm2", "start", "processes.json", "--no-daemon"]
CMD ["pm2-dev", "process.yml"]
# CMD ["pm2-docker", "process.yml"]
# CMD ["pm2-dev", "process.yml", "--only", "APP"]

{'fraction_non_alphanumeric': 0.13527272727272727, 'fraction_numerical': 0.005090909090909091, 'mean_word_length': 3.61744966442953, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 1, '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': '849906', 'n_tokens_mistral': 487, 'n_tokens_neox': 466, 'n_words': 159}