Fix HTML snapshot errors related to single-file-cli (#683)

* Install node 20 on debian image

* use singlefile fork
This commit is contained in:
Sascha Ißbrücker
2024-04-07 11:05:48 +02:00
committed by GitHub
parent bb6c5ca29e
commit 68c163d943
2 changed files with 14 additions and 4 deletions

View File

@@ -99,7 +99,9 @@ CMD ["./bootstrap.sh"]
FROM linkding AS linkding-plus
# install node, chromium and single-file
RUN apk update && apk add nodejs npm chromium && npm install -g single-file-cli
# install node, chromium
RUN apk update && apk add nodejs npm chromium
# install single-file from fork for now, which contains several hotfixes
RUN npm install -g https://github.com/sissbruecker/single-file-cli/tarball/f3730995a52f27d5041a1ad9e7528af4b6b4cf4b
# enable snapshot support
ENV LD_ENABLE_SNAPSHOTS=True