From 6a9342abce5213073c09e896169d8031bfac50e0 Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Thu, 13 Mar 2025 08:31:07 +0100 Subject: [PATCH] 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 this will be fixed in an upcoming PR where I overhaul copy-dist to allow for build target specific copying of files --- .dockerignore | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index 786c22ff9..a4e242a99 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