fix directory ownership
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user