Fix bower

Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
James Ketr 2023-01-20 17:21:02 -08:00
parent 624a4542a6
commit 0df1ed8224
3 changed files with 12429 additions and 6871 deletions

View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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