Dockerfile 294 B

123456789101112
  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-get update -y
  10. RUN apt-get install -y python3 python3-pip
  11. RUN cargo build --release
  12. ENV SHELL=/bin/bash