From 37b75a5d987fb41af1f3ec42bebdf6fdad0b770e Mon Sep 17 00:00:00 2001 From: Gerhard Scheikl Date: Fri, 3 Apr 2026 15:45:06 +0200 Subject: [PATCH] fix directory ownership --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e52345a..1b10801 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,8 +57,9 @@ COPY --from=builder /app/.next/static/pagefind ./.next/static/pagefind # Create cache directory with correct permissions # IsomorphicBridge needs write access to .git and content for commits +# TinaCMS media manager writes uploads to public/ RUN mkdir -p .next/cache && \ - chown -R nextjs:nodejs .next/cache .git content tina + chown -R nextjs:nodejs .next/cache .git content tina public USER nextjs