viz-sqlx.dockerfile 214 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-sqlx --features="sqlx,markup,v_htmlescape"
  6. EXPOSE 8080
  7. CMD ./target/release/viz-sqlx