Fix bower
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
parent
624a4542a6
commit
0df1ed8224
@ -32,7 +32,7 @@ RUN DEBIAN_FRONTEND=NONINTERACTIVE apt-get install -y \
|
||||
# Polymer frontend app built using bower
|
||||
WORKDIR /website/frontend
|
||||
COPY /frontend /website/frontend
|
||||
RUN npx -y bower -y install
|
||||
RUN npx -y bower --allow-root -y install
|
||||
|
||||
# Not sure if the root is actually used for anything...
|
||||
# It does have dependencies on frontend
|
||||
|
13133
client/package-lock.json
generated
13133
client/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -32,8 +32,7 @@ else
|
||||
echo "Running in DEVELOPMENT mode."
|
||||
if [[ -d /website/frontend/bower_components ]]; then
|
||||
cd /website/frontend
|
||||
npm install &&
|
||||
npx bower install || fail "Unable to install frontend"
|
||||
npx -y bower --allow-root -y install || fail "Unable to install frontend"
|
||||
fi
|
||||
if [[ -d /website/client/node_modules ]]; then
|
||||
cd /website/client
|
||||
|
Loading…
x
Reference in New Issue
Block a user