[Fix] IPC, cli, daemon

This commit is contained in:
Alex-Emmet 2026-07-21 23:05:34 +02:00
commit 56aad3a023
32 changed files with 1356 additions and 399 deletions

View file

@ -4,7 +4,7 @@ FROM rust:latest AS builder
WORKDIR /app
COPY . .
RUN cargo build --release
RUN cargo build --release -p iota-daemon
# Runtime stage
FROM debian:sid
@ -13,8 +13,10 @@ WORKDIR /app
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
COPY --from=builder /app/target/release/iota-core .
COPY --from=builder /app/target/release/iota-daemon .
RUN useradd -r -s /bin/false iota && mkdir -p /run/iota && chown iota:iota /run/iota
EXPOSE 1984
CMD ["./iota-core"]
CMD ["./iota-daemon"]