Commit Graph

2 Commits

Author SHA1 Message Date
achmad 84bbf5ac4b fix: fix SQLite database permission error on volume mounts
Entrypoint now runs as root, fixes ownership of /app/data to nextjs:nodejs
(uid 1001), then drops privileges via su before starting the app.
This fixes 'unable to open database file' when the host data/ directory
is created by Docker as root and is not writable by the nextjs user.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 19:01:11 +07:00
achmad b55bf45d34 feat: add Docker setup with multi-stage build
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 17:12:29 +07:00