diff --git a/crates/exporter/Dockerfile b/crates/exporter/Dockerfile new file mode 100644 index 0000000..8d003bd --- /dev/null +++ b/crates/exporter/Dockerfile @@ -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"]