<commit_before># To build:
# 1. Install docker (http://docker.io)
# 2. Checkout source: <EMAIL>:540co/ads-bpa.git
# 3. Build container: docker build .

FROM node:0.12.4
MAINTAINER 540 Co LLC <<EMAIL>>

# App
ADD . /src/dre

# Install app dependencies
RUN cd /src/dre; npm install -g bower grunt-cli mocha
RUN cd /src/dre/client; npm install; bower install --allow-root
RUN cd /src/dre/server; npm install

EXPOSE 3000
CMD npm start
<commit_msg>Updating Dockerfile environment variables and work directories<commit_after># To build:
# 1. Install docker (http://docker.io)
# 2. Checkout source: <EMAIL>:540co/ads-bpa.git
# 3. Build container: docker build .

FROM node:0.12.4
MAINTAINER 540 Co LLC <<EMAIL>>

# Environment Variables
ENV SRC_PATH /src/dre
ENV CLIENT_PATH $SRC_PATH/client
ENV SERVER_PATH $SRC_PATH/server

# App
ADD . $SRC_PATH

# Install dependencies
WORKDIR $SRC_PATH
RUN npm install -g bower grunt-cli mocha

# Install client dependencies
WORKDIR $CLIENT_PATH
RUN npm install; bower install --allow-root

# Install server dependencies
WORKDIR $SERVER_PATH
RUN npm install

# Expose port 3000 to host
EXPOSE 3000

# Start server
WORKDIR $SERVER_PATH
CMD ["npm", "start"]

{'fraction_non_alphanumeric': 0.10109519797809605, 'fraction_numerical': 0.03201347935973041, 'mean_word_length': 4.28, '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': '2293416', 'n_tokens_mistral': 449, 'n_tokens_neox': 399, 'n_words': 143}