git » homepage.git » commit bfd8588

Keep renderer cache files outside the mounted source tree

author Alan Dipert
2026-11-10 19:08:26 UTC
committer Alan Dipert
2026-11-10 19:08:26 UTC
parent 1a3b86d80e18bd5f214e126cbccbcbecf3e25ad1

Keep renderer cache files outside the mounted source tree

Containerfile +3 -1

diff --git a/Containerfile b/Containerfile
index 3098157..a5bebf9 100644
--- a/Containerfile
+++ b/Containerfile
@@ -62,7 +62,9 @@ RUN cd /opt/mermaid \
 
 ENV LANG=C.UTF-8 \
     LC_ALL=C.UTF-8 \
-    TZ=UTC
+    TZ=UTC \
+    XDG_CACHE_HOME=/tmp/homepage-cache \
+    XDG_CONFIG_HOME=/tmp/homepage-config
 
 WORKDIR /workspace