Dockerfile 361 B

123456789101112131415
  1. FROM rust:1.56.0
  2. WORKDIR /home/lox
  3. ADD src/ ./src/
  4. ADD Cargo.toml Cargo.toml
  5. ADD tests/ ./tests/
  6. ADD run_tests_fast.sh .
  7. ADD Parsing-results ./Parsing-results
  8. ADD README.md README.md
  9. RUN apt update -y
  10. RUN apt install -y python3 python3-pip
  11. RUN pip3 install pandas
  12. RUN pip3 install numpy
  13. RUN pip3 install matplotlib
  14. RUN cargo build --release
  15. ENV SHELL=/bin/bash