[Fix] IPC, cli, daemon
This commit is contained in:
parent
36a70e82a0
commit
56aad3a023
32 changed files with 1356 additions and 399 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue