init
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user