From f497e8bb6d78f3b01c2a87540e28d7727e17676e Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 10 Mar 2026 23:14:18 +0100 Subject: [PATCH] fix: ensure /tmp is writable by container user in Docker image The scratch-based Docker image copies /tmp from the builder stage with root ownership, but the container runs as UID 1000. SQLite needs a writable temp directory for complex transactions (task position changes, saved filter creation, data export), causing "disk I/O error: permission denied" errors. Closes go-vikunja/vikunja#2316 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4e49f33db..560303236 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,7 +50,7 @@ WORKDIR /app/vikunja ENTRYPOINT [ "/app/vikunja/vikunja" ] EXPOSE 3456 -COPY --from=apibuilder /tmp /tmp +COPY --from=apibuilder --chown=1000:1000 /tmp /tmp USER 1000