mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 02:48:38 -04:00
Using older version of single-file-cli to avoid error.
This commit is contained in:
parent
7cdf5f3323
commit
86355b664d
5 changed files with 5 additions and 5 deletions
|
|
@ -21,7 +21,7 @@ npm install
|
|||
npm run build
|
||||
|
||||
# Install Node console commands.
|
||||
npm i -g serve@12.0.1 single-file-cli@2.0.34 readability-extractor@0.0.6 carto@1.2.0
|
||||
npm i -g serve@12.0.1 single-file-cli@1.1.54 readability-extractor@0.0.6 carto@1.2.0
|
||||
|
||||
# Install Python requirements.
|
||||
python3 --version
|
||||
|
|
|
|||
|
|
@ -16,6 +16,6 @@ RUN pip3 install -r /app/requirements.txt
|
|||
COPY docker/archive /app
|
||||
|
||||
# Install a newer singlefile and Readability.
|
||||
RUN npm install -g single-file-cli@2.0.34 readability-extractor@0.0.6
|
||||
RUN npm install -g single-file-cli@1.1.54 readability-extractor@0.0.6
|
||||
|
||||
ENTRYPOINT [ "python3", "/app/main.py"]
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ usermod -aG pi wrolpi
|
|||
sed -i 's/port = 5433/port = 5432/' /etc/postgresql/15/main/postgresql.conf
|
||||
|
||||
# Install Node console commands.
|
||||
npm i -g serve@12.0.1 single-file-cli@2.0.34 readability-extractor@0.0.6 carto@1.2.0
|
||||
npm i -g serve@12.0.1 single-file-cli@1.1.54 readability-extractor@0.0.6 carto@1.2.0
|
||||
|
||||
# Put the latest WROLPi master in /opt/wrolpi.
|
||||
git clone -b master https://github.com/lrnselfreliance/wrolpi.git /opt/wrolpi
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ node -v
|
|||
npm -v
|
||||
|
||||
# Install serve, and archiving tools.
|
||||
single-file --version || sudo npm i -g serve@12.0.1 single-file-cli@2.0.34 readability-extractor@0.0.6 carto@1.2.0
|
||||
single-file --version || sudo npm i -g serve@12.0.1 single-file-cli@1.1.54 readability-extractor@0.0.6 carto@1.2.0
|
||||
|
||||
# Build React app in background job.
|
||||
cd /opt/wrolpi/app || exit 5
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ node -v
|
|||
npm -v
|
||||
|
||||
# Install serve, and archiving tools.
|
||||
single-file --version || sudo npm i -g serve@12.0.1 single-file-cli@2.0.34 readability-extractor@0.0.6 carto@1.2.0
|
||||
single-file --version || sudo npm i -g serve@12.0.1 single-file-cli@1.1.54 readability-extractor@0.0.6 carto@1.2.0
|
||||
|
||||
# Build React app in background job.
|
||||
cd /opt/wrolpi/app || exit 5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue