Skip to content

docker: Update Dockerfile for PostgreSQL#9

Merged
tomjnsn merged 1 commit intomainfrom
postgres/dockerfile
Feb 17, 2026
Merged

docker: Update Dockerfile for PostgreSQL#9
tomjnsn merged 1 commit intomainfrom
postgres/dockerfile

Conversation

@tomjnsn
Copy link
Copy Markdown
Owner

@tomjnsn tomjnsn commented Feb 17, 2026

Summary

  • Remove better-sqlite3 native module install (no longer needed)
  • Install postgres + drizzle-orm instead (pure JS, no native builds)
  • Remove DB_PATH env var — app now uses DATABASE_URL

Closes #6

Test plan

  • Docker build succeeds
  • Container starts with DATABASE_URL pointing to external Postgres
  • Migrations run and app is accessible

🤖 Generated with Claude Code

- Remove better-sqlite3 native module install
- Add postgres + drizzle-orm (pure JS, no native builds needed)
- Remove DB_PATH env var (now uses DATABASE_URL)
- Update runtime stage comment

Closes #6

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

🔮 View transcript: https://agentlogs.chsprc.com/s/bwgzcefdb8jizsaurae83j2s
@tomjnsn tomjnsn merged commit 2047de1 into main Feb 17, 2026
0 of 3 checks passed
@tomjnsn tomjnsn deleted the postgres/dockerfile branch February 17, 2026 18:28
tomjnsn added a commit that referenced this pull request Feb 24, 2026
- Remove better-sqlite3 native module install
- Add postgres + drizzle-orm (pure JS, no native builds needed)
- Remove DB_PATH env var (now uses DATABASE_URL)
- Update runtime stage comment

Closes #6

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

🔮 View transcript: https://agentlogs.chsprc.com/s/bwgzcefdb8jizsaurae83j2s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docker: Update Dockerfile for PostgreSQL

1 participant