actix-raw.dockerfile 212 B

1234567891011
  1. FROM rust:1.46
  2. RUN apt-get update -yqq && apt-get install -yqq cmake g++
  3. ADD ./ /actix
  4. WORKDIR /actix
  5. RUN cargo clean
  6. RUN RUSTFLAGS="-C target-cpu=native" cargo build --release
  7. CMD ./target/release/actix-raw