Created
July 31, 2016 18:22
-
-
Save BlueHotDog/d9c4175c3f9a7a0e27ec615a9b878473 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:6.3.0 | |
RUN mkdir -p /home/app/code/node_modules | |
WORKDIR /home/app/code | |
ENV NODE_ENV development | |
RUN echo '{ "allow_root": true }' > /root/.bowerrc | |
COPY package.json /home/app/code/ | |
RUN npm cache clean && \ | |
npm install --silent --progress=false&& \ | |
apt-get clean | |
COPY bower.json /home/app/code/ | |
RUN ./node_modules/bower/bin/bower install --production --silent --config.interactive=false | |
COPY . /home/app/code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment