Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-sovereign-core-mv/blob/main/crates/cortex-rs/Dockerfile # aien-sovereign-core-mv AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-sovereign-core-mv / crates / cortex-rs / Dockerfile` 32 lines ยท 758 bytes Raw Blame History 1 # Multi-stage build for cortex-rs 2 FROM rust:slim-bookworm AS builder 3 4 WORKDIR /build 5 6 COPY Cargo.toml Cargo.lock* ./ 7 COPY src ./src 8 9 RUN cargo build --release 10 11 # Minimal runtime image 12 FROM debian:bookworm-slim 13 14 RUN apt-get update && apt-get install -y --no-install-recommends \ 15 ca-certificates \ 16 curl \ 17 && rm -rf /var/lib/apt/lists/* 18 19 WORKDIR /app 20 21 COPY --from=builder /build/target/release/cortex-rs /usr/local/bin/cortex-rs 22 COPY scripts/reproduce.sh /usr/local/bin/reproduce.sh 23 RUN chmod +x /usr/local/bin/reproduce.sh 24 25 # Run unprivileged; the default store is $HOME/.config/cortex/cortex.db. 26 RUN useradd --system --create-home --uid 10001 cortex 27 USER cortex 28 29 EXPOSE 18080 30 31 ENTRYPOINT ["cortex-rs"] 32 CMD ["--host", "0.0.0.0", "--port", "18080"]