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