Skip to content

Dockerfile builds with hardcoded build-time databaseurl #533

Description

@itsmiso-ai

Parent umbrella issue: #495
Source audit: Weekly tech debt audit: dispatch - 2026-07-01
Source audit date: 2026-07-01

Original recommendation

Dockerfile builds with hardcoded build-time databaseurl

Evidence: Dockerfile line 19 sets ENV DATABASE_URL=postgresql://localhost:5432/dispatch for the build stage. This placeholder value could cause silent build failures if Prisma generates different queries based on the connection string (e.g., different PG extension support). The runner stage does not inherit it, but the builder does.


Matched top finding

Evidence: Dockerfile line 19 sets ENV DATABASE_URL=postgresql://localhost:5432/dispatch for the build stage. This placeholder value could cause silent build failures if Prisma generates different queries based on the connection string (e.g., different PG extension support). The runner stage does not inherit it, but the builder does.


Metadata

Metadata

Assignees

No one assigned

    Labels

    auditAudit, review, or investigation work.priority/p2Normal priority.status/backlogNot ready for worker pickup yet.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions