- FROM rust:1.56.0
- WORKDIR /home/lox
- ADD src/ ./src/
- ADD Cargo.toml Cargo.toml
- ADD tests/ ./tests/
- ADD run_tests_fast.sh .
- ADD Parsing-results ./Parsing-results
- ADD README.md README.md
- RUN apt-get update -y
- RUN apt-get install -y python3 python3-pip
- RUN cargo build --release
- ENV SHELL=/bin/bash
|