tachyon-concept.dockerfile 331 B

12345678910
  1. FROM rust:latest
  2. ENV DEBIAN_FRONTEND=noninteractive
  3. WORKDIR /app
  4. RUN rustup install nightly
  5. RUN git clone https://github.com/TachyonConcepts/TachyonConcept .
  6. RUN RUSTFLAGS="-C target-cpu=native -C opt-level=3 -C target-feature=+avx2,+bmi2" cargo install --path .
  7. RUN cargo clean
  8. RUN chmod +x /app/run.sh
  9. EXPOSE 8080
  10. CMD /app/run.sh