Removing redundant web app build during image builds.

This commit is contained in:
Roland 2026-02-27 17:22:46 -07:00
parent ae72b9491d
commit ebac4fdfa2
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
2 changed files with 1 additions and 2 deletions

View file

@ -28,7 +28,6 @@ cd /opt/wrolpi/app
npm --version
node --version
npm install
npm run build
# Install Node console commands.
npm i -g serve@12.0.1 single-file-cli@2.0.73 readability-extractor@0.0.6 carto@1.2.0

View file

@ -55,7 +55,7 @@ python3 -m venv /opt/wrolpi/controller/venv
echo "Controller pre-installed"
# Install webapp.
(cd /opt/wrolpi/app && npm install && npm run build)
(cd /opt/wrolpi/app && npm install)
chown -R wrolpi:wrolpi /opt/wrolpi