@@ -12,6 +12,7 @@ COPY Cargo.toml Cargo.lock ./COPY src ./srcCOPY migrations ./migrationsCOPY frontend ./frontendCOPY templates ./templatesRUN cd frontend && bun install --frozen-lockfile && bun run build
Copy templates/ into Dockerfile builder for include_str!
Copy templates/ into Dockerfile builder for include_str! src/alerts.rs embeds the email base template via include_str!, which cargo resolves at compile time. The builder stage was missing templates/, so the release build failed on deploy. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>