mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-08-11 20:57:49 +02:00
Fix HTML snapshot errors related to single-file-cli (#683)
* Install node 20 on debian image * use singlefile fork
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user