i2pd-exporter/dockerfile

12 lines
254 B
Plaintext
Raw Normal View History

2024-05-20 00:47:07 +02:00
# 1. This tells docker to use the Rust official image
FROM rust:latest
# 2. Copy the files in your machine to the Docker image
COPY ./ ./
# Build your program for release
RUN cargo build --release
# Run the binary
CMD ["./target/release/i2pdmetrics"]