Dockerfile 339 B

12345678910111213
  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 -r Parsing-results/requirements.txt
  12. RUN cargo build --release
  13. ENV SHELL=/bin/bash