fix: create /app/data after COPY steps to prevent permission clobber #10
Reference in New Issue
Block a user
Delete Branch "claude/reverent-proskuriakova"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The mkdir was running before the standalone COPY, which could overwrite
/app/data contents or permissions. Move it to after all COPY statements
and use chmod 700 so only nextjs owns and can write the SQLite data dir.
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com