mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Removing redundant web app build during image builds.
This commit is contained in:
parent
ae72b9491d
commit
ebac4fdfa2
2 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue