Skip to content

Build your personal knowledge base with Trilium Notes

ci: Fix docker build after macOS integration

Elian Dorane6ff99198f98
diff --git a/.dockerignore b/.dockerignore
index 941905c66f..64bcb69833 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -6,4 +6,5 @@
/npm-debug.log
node_modules
-src/**/*.ts
\ No newline at end of file
+src/**/*.ts
+!src/services/asset_path.ts
\ No newline at end of file
diff --git a/Dockerfile b/Dockerfile
index dfeb4a0d75..78f058529a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -34,7 +34,8 @@ RUN set -x \
&& npm prune --omit=dev \
&& cp src/public/app/share.js src/public/app-dist/. \
&& cp -r src/public/app/doc_notes src/public/app-dist/. \
- && rm -rf src/public/app
+ && rm -rf src/public/app \
+ && rm src/services/asset_path.ts
# Some setup tools need to be kept
RUN apk add --no-cache su-exec shadow