Skip to content
1        10        20        30        40        50        60        701FROM rust:1-bookworm AS builder23RUN apt-get update \4    && apt-get install -y --no-install-recommends pkg-config libssl-dev \5    && rm -rf /var/lib/apt/lists/*67WORKDIR /build8COPY Cargo.toml Cargo.lock ./9COPY src ./src10COPY skills ./skills11# Resolve a stale workspace lock entry in the disposable build stage, then12# require the release compile to use the resulting lock exactly.13RUN cargo metadata --format-version 1 >/dev/null \14    && cargo build --release --locked1516FROM debian:bookworm-slim1718RUN apt-get update \19    && apt-get install -y --no-install-recommends ca-certificates libssl3 \20    && rm -rf /var/lib/apt/lists/*2122COPY --from=builder /build/target/release/ino /usr/local/bin/ino2324ENV PORT=8025EXPOSE 8026LABEL remote="silenloc/ino" \27      ino.deploy.server="https://ino.silenlocatelli.ch" \28      ino.deploy.host="ino.silenlocatelli.ch"29CMD ["ino", "once", "server", "serve"]