viz-pg.dockerfile 206 B

1234567891011
  1. FROM rust:1.83
  2. ADD ./ /viz
  3. WORKDIR /viz
  4. RUN cargo clean
  5. RUN RUSTFLAGS="-C target-cpu=native" cargo build --release --bin viz-pg --features="tokio-postgres,yarte"
  6. EXPOSE 8080
  7. CMD ./target/release/viz-pg