Skip to content

Build your personal knowledge base with Trilium Notes

build(Docker): add a temporary exception for files that copy-dist tries to copy for electron-forge, as otherwise copy-dist will fail inside Docker build

Panagiotis Papadopoulos6a9342abce52
diff --git a/.dockerignore b/.dockerignore
index 786c22ff99..a4e242a99e 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -5,7 +5,6 @@
.prettier*
electron*
entitlements.plist
-forge.config.cjs
nodemon.json
renovate.json
trilium.iml
@@ -34,4 +33,10 @@ npm-debug.log
# exceptions
-!/bin/copy-dist.ts
\ No newline at end of file
+!/bin/copy-dist.ts
+
+# temporary exception to make copy-dist inside Docker build not fail
+# TriliumNextTODO: make copy-dist *not* requiring to copy this file for builds other than electron-forge
+!forge.config.cjs
+!/bin/tpl
+!/bin/electron-forge/desktop.ejs
\ No newline at end of file