14 lines
236 B
Text
14 lines
236 B
Text
|
FROM node:6
|
||
|
|
||
|
RUN mkdir -p /usr/src/app
|
||
|
WORKDIR /usr/src/app
|
||
|
|
||
|
RUN echo '{ "allow_root": true }' > /root/.bowerrc
|
||
|
|
||
|
COPY package.json /usr/src/app/
|
||
|
RUN npm install
|
||
|
RUN npm install -g bower
|
||
|
COPY bower.json /usr/src/app/
|
||
|
RUN bower install
|
||
|
|