ci/woodpecker/push/tests Pipeline was successful
Expose /jobs, /dedup, and /events routes backed by a new EventBus that broadcasts job lifecycle and per-job progress over SSE. Serve a static dashboard from front/ that lists pending and in-progress jobs, streams agent activity, and shows completed reviews. Also add migrate-apply/migrate-generate scripts that load .env, update the Containerfile to ship the front assets and use the apply script, and refresh the roadmap.
35 lines
701 B
Docker
35 lines
701 B
Docker
FROM rust:1.98-trixie as builder
|
|
|
|
WORKDIR /app
|
|
|
|
COPY Cargo.toml Cargo.lock ./
|
|
COPY crates/ crates/
|
|
|
|
RUN cargo build --release --package steep-server
|
|
|
|
|
|
FROM debian:trixie-slim
|
|
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
ca-certificates \
|
|
git \
|
|
libssl3t64 \
|
|
libzstd1 \
|
|
zlib1g \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
WORKDIR /app
|
|
COPY --from=builder /app/target/release/steep-server ./steep-server
|
|
|
|
COPY front ./front
|
|
|
|
COPY crates/steep-server/toasty ./toasty
|
|
ENV MIGRATIONS_DIR=/app/toasty
|
|
|
|
COPY scripts/migrate-apply.sh ./scripts/migrate-apply.sh
|
|
RUN chmod +x ./scripts/migrate-apply.sh
|
|
|
|
CMD ["sh", "-c", "./scripts/migrate-apply.sh && exec ./steep-server"]
|