saphir.dockerfile 171 B

123456789101112
  1. FROM rust:1.44
  2. WORKDIR /saphir
  3. ADD . .
  4. RUN cargo clean
  5. RUN RUSTFLAGS="-C target-cpu=native" cargo build --release
  6. EXPOSE 8080
  7. CMD ./target/release/saphir-techempower