Some checks failed
CI / Check (push) Has been skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Successful in 7m5s
CI / Deploy Docs (push) Successful in 30s
CI / Deploy MCP (push) Successful in 1m31s
CI / Deploy Dashboard (push) Failing after 21m28s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
24 lines
619 B
Docker
24 lines
619 B
Docker
FROM rust:1.94-bookworm AS builder
|
|
|
|
RUN cargo install dioxus-cli --version 0.7.3 --locked
|
|
|
|
ARG DOCS_URL=/docs
|
|
|
|
WORKDIR /app
|
|
COPY . .
|
|
ENV DOCS_URL=${DOCS_URL}
|
|
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
|
|
|
|
ENV IP=0.0.0.0
|
|
EXPOSE 8080
|
|
|
|
ENTRYPOINT ["./compliance-dashboard"]
|
|
|