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
Owner

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

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>
jason added 1 commit 2026-03-13 00:39:23 -05:00
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>
jason merged commit a091420573 into master 2026-03-13 00:39:27 -05:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jason/wfh#10