repos

Copy templates/ into Dockerfile builder for include_str!

e4a851fe by Isaac Bythewood · 1 month ago

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.
modified Dockerfile
@@ -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