Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Commit 04e74f2

Browse files
committed
workaround manual bower install
1 parent a68b588 commit 04e74f2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ RUN npm install -g bower > /dev/null
1313

1414
# Install Mean.JS packages
1515
ADD package.json /home/mean/package.json
16-
RUN npm install > /dev/null
16+
RUN npm install
17+
18+
ADD .bowerrc /home/mean/.bowerrc
19+
ADD bower.json /home/mean/bower.json
20+
# why doesnt this work via npm install?
21+
RUN bower install --config.interactive=false --allow-root
1722

1823
# Make everything available for start
1924
ADD . /home/mean

0 commit comments

Comments
 (0)