interplane.Get Omega
Read in your language

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

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
2FROM rust:slim-bookworm AS builder
3
4WORKDIR /build
5
6COPY Cargo.toml Cargo.lock* ./
7COPY src ./src
8
9RUN cargo build --release
10
11# Minimal runtime image
12FROM debian:bookworm-slim
13
14RUN apt-get update && apt-get install -y --no-install-recommends \
15 ca-certificates \
16 curl \
17 && rm -rf /var/lib/apt/lists/*
18
19WORKDIR /app
20
21COPY --from=builder /build/target/release/cortex-rs /usr/local/bin/cortex-rs
22COPY scripts/reproduce.sh /usr/local/bin/reproduce.sh
23RUN chmod +x /usr/local/bin/reproduce.sh
24
25# Run unprivileged; the default store is $HOME/.config/cortex/cortex.db.
26RUN useradd --system --create-home --uid 10001 cortex
27USER cortex
28
29EXPOSE 18080
30
31ENTRYPOINT ["cortex-rs"]
32CMD ["--host", "0.0.0.0", "--port", "18080"]