Sync
This commit is contained in:
parent
679a3db00c
commit
f2f7ff657f
70 changed files with 15598 additions and 0 deletions
20
dockerfile
Normal file
20
dockerfile
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Build stage
|
||||
FROM rust:latest AS builder
|
||||
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
|
||||
RUN cargo build --release
|
||||
|
||||
# Runtime stage
|
||||
FROM debian:sid
|
||||
|
||||
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 .
|
||||
|
||||
EXPOSE 1984
|
||||
|
||||
CMD ["./iota"]
|
||||
Loading…
Reference in a new issue