dockerfile added (glibc6 error on running)

pull/6/head
prplV 2025-02-11 20:43:41 +03:00
parent 3039a66a11
commit 0dde8e7604
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
FROM rust:1.75 AS builder
WORKDIR /app
COPY . .
RUN cargo build --release
FROM debian:bullseye-slim
WORKDIR /app
# RUN sudo apt update
# RUN sudo apt install libc6
COPY --from=builder /app/target/release/exporter /app/server
EXPOSE 9100
CMD ["/app/server"]