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
|
# Polymer frontend app built using bower
|
||||||
WORKDIR /website/frontend
|
WORKDIR /website/frontend
|
||||||
COPY /frontend /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...
|
# Not sure if the root is actually used for anything...
|
||||||
# It does have dependencies on frontend
|
# It does have dependencies on frontend
|
||||||
|
19295
client/package-lock.json
generated
19295
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."
|
echo "Running in DEVELOPMENT mode."
|
||||||
if [[ -d /website/frontend/bower_components ]]; then
|
if [[ -d /website/frontend/bower_components ]]; then
|
||||||
cd /website/frontend
|
cd /website/frontend
|
||||||
npm install &&
|
npx -y bower --allow-root -y install || fail "Unable to install frontend"
|
||||||
npx bower install || fail "Unable to install frontend"
|
|
||||||
fi
|
fi
|
||||||
if [[ -d /website/client/node_modules ]]; then
|
if [[ -d /website/client/node_modules ]]; then
|
||||||
cd /website/client
|
cd /website/client
|
||||||
|
Loading…
x
Reference in New Issue
Block a user