Skip to content

Commit e32f131

Browse files
committed
fix(scratch): add XDG_CACHE_HOME so peer cache is writable
1 parent fcc721b commit e32f131

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile.scratch

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ EXPOSE 53317/udp
2121
# Point config and downloads to mounted volumes
2222
ENV LOCALSEND_DOWNLOAD_DIR="/app/downloads" \
2323
LOCALSEND_SECURITY_DIR="/app/config" \
24-
LOCALSEND_AUTO_ACCEPT="true"
24+
LOCALSEND_AUTO_ACCEPT="true" \
25+
XDG_CACHE_HOME="/app/config/cache"
2526

2627
# OCI labels
2728
LABEL org.opencontainers.image.title="LocalGo"

0 commit comments

Comments
 (0)