<commit_before>FROM node:argon

# Create app directory
RUN mkdir -p /usr/src/app
RUN npm install -g grunt grunt-cli bower

WORKDIR /usr/src/app

# Install app dependencies
COPY bower.json /usr/src/app/
COPY bower-shrinkwrap.json /usr/src/app/
COPY .bowerrc /usr/src/app/
COPY package.json /usr/src/app/
COPY npm-shrinkwrap.json /usr/src/app/
COPY app /usr/src/app/app
COPY i18n /usr/src/app/
COPY styles /usr/src/app/
COPY tasks /usr/src/app/
COPY test /usr/src/app/
COPY . /usr/src/app


# Bundle app source
# COPY . /usr/src/app

EXPOSE 8080

RUN echo -n | export GIT_SSL_NO_VERIFY=1
RUN git config --global http.sslverify false
RUN echo -N | git config --global http.sslverify false
RUN echo -n | openssl s_client -showcerts -connect https://secmgmtgit.provo.novell.com:8443 2>/dev/null  | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p'

RUN echo '{ "allow_root": true }' > /root/.bowerrc

# RUN echo -n | npm install
# RUN echo -n | bower install

RUN npm install
RUN grunt replace:bowerForDev
RUN bower install
RUN npm rebuild node-sass
RUN npm install
RUN grunt dev

# CMD [ "npm", "install" ]
# CMD [ "bower", "install" ]
# CMD [ "npm", "start" ]

# ENTRYPOINT ["/bin/bash", "-c", "npm install"]
# ENTRYPOINT ["/bin/bash", "-c", "bower install"]
# ENTRYPOINT ["/bin/bash", "-c", "grunt dev"]

# CMD [ "npm", "install" ]
# CMD [ "bower", "install" ]
# CMD [ "grunt", "dev" ]<commit_msg>Updated docker file to build.<commit_after>FROM node:argon

# Create app directory
RUN mkdir -p /usr/src/app
RUN npm install -g grunt grunt-cli bower

WORKDIR /usr/src/app

# Install app dependencies
COPY bower.json /usr/src/app/
COPY bower-shrinkwrap.json /usr/src/app/
COPY .bowerrc /usr/src/app/
COPY package.json /usr/src/app/
COPY npm-shrinkwrap.json /usr/src/app/
COPY app /usr/src/app/app
COPY i18n /usr/src/app/
COPY styles /usr/src/app/
COPY tasks /usr/src/app/
COPY test /usr/src/app/
# Not sure if this . replicates all above items.  Find out.
COPY . /usr/src/app

EXPOSE 8080

# This section to try and allow bower install to Stash work.
# NOTE: MUST UPDATE USERNAME/PASSWORD in /boilerplate/bower.json file.
RUN echo -n | export GIT_SSL_NO_VERIFY=1
RUN git config --global http.sslverify false
RUN echo -N | git config --global http.sslverify false
RUN echo -n | openssl s_client -showcerts -connect https://secmgmtgit.provo.novell.com:8443 2>/dev/null  | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p'

RUN echo '{ "allow_root": true }' > /root/.bowerrc

RUN npm install
RUN grunt replace:bowerForDev
RUN bower install
RUN npm rebuild node-sass

RUN npm install
RUN grunt dev

{'fraction_non_alphanumeric': 0.13492675404780263, 'fraction_numerical': 0.009252120277563608, 'mean_word_length': 3.4207836456558773, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '1204250', 'n_tokens_mistral': 1046, 'n_tokens_neox': 957, 'n_words': 304}