mirror of
https://github.com/zadam/trilium.git
synced 2025-01-31 03:19:11 +08:00
Fix missing share.js in public/app-dist folder; Delete unused public/app folder (Docker build)
This commit is contained in:
parent
bbdb7375ff
commit
f45478260e
1 changed files with 3 additions and 1 deletions
|
@ -29,7 +29,9 @@ RUN set -x \
|
|||
&& sed -i -e 's/app\/desktop.js/app-dist\/desktop.js/g' src/views/desktop.ejs \
|
||||
&& sed -i -e 's/app\/mobile.js/app-dist\/mobile.js/g' src/views/mobile.ejs \
|
||||
&& sed -i -e 's/app\/setup.js/app-dist\/setup.js/g' src/views/setup.ejs \
|
||||
&& sed -i -e 's/app\/share.js/app-dist\/share.js/g' src/views/share/*.ejs
|
||||
&& sed -i -e 's/app\/share.js/app-dist\/share.js/g' src/views/share/*.ejs \
|
||||
&& cp src/public/app/share.js src/public/app-dist/. \
|
||||
&& rm -rf src/public/app
|
||||
|
||||
# Some setup tools need to be kept
|
||||
RUN apk add --no-cache su-exec shadow
|
||||
|
|
Loading…
Reference in a new issue