This commit is contained in:
2024-12-12 12:56:09 +00:00
commit 94616e6920
8 changed files with 2770 additions and 0 deletions

14
Dockerfile Normal file
View File

@ -0,0 +1,14 @@
ARG IMAGE=rust:bookworm
FROM $IMAGE AS build
WORKDIR /app/src
COPY Cargo.toml .
COPY Cargo.lock .
COPY src src
RUN cargo install --path . --root /app/build
FROM $IMAGE AS runner
WORKDIR /app
COPY --from=build /app/build .
ENV RUST_LOG=info
ENTRYPOINT ["./bin/nostrhole"]