Add DAST scanning and code knowledge graph features across the stack: - compliance-dast and compliance-graph workspace crates - Agent API handlers and routes for DAST targets/scans and graph builds - Core models and traits for DAST and graph domains - Dashboard pages for DAST targets/findings/overview and graph explorer/impact - Toast notification system with auto-dismiss for async action feedback - Button click animations and disabled states for better UX Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
19 lines
549 B
Docker
19 lines
549 B
Docker
FROM rust:1.89-bookworm AS builder
|
|
|
|
RUN cargo install dioxus-cli --version 0.7.3
|
|
|
|
WORKDIR /app
|
|
COPY . .
|
|
RUN dx build --release --package compliance-dashboard
|
|
|
|
FROM debian:bookworm-slim
|
|
RUN apt-get update && apt-get install -y ca-certificates libssl3 && rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
COPY --from=builder /app/target/dx/compliance-dashboard/release/web/compliance-dashboard /app/compliance-dashboard
|
|
COPY --from=builder /app/target/dx/compliance-dashboard/release/web/public /app/public
|
|
|
|
EXPOSE 8080
|
|
|
|
ENTRYPOINT ["./compliance-dashboard"]
|