fix: create /app/data after COPY steps to prevent permission clobber #10

Merged
jason merged 1 commits from claude/reverent-proskuriakova into master 2026-03-13 00:39:27 -05:00

1 Commits

Author SHA1 Message Date
b1fa70eba4 fix: create /app/data after COPY steps to prevent permission clobber
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>
2026-03-13 00:38:50 -05:00