Dockerfile 366 B

123456789101112
  1. # Dockerfile for both lox-new and troll-patrol
  2. FROM rust:1.93.0
  3. RUN apt update -y && apt upgrade -y
  4. WORKDIR /home/lox
  5. ADD crates/ ./crates/
  6. ADD Cargo.toml Cargo.toml
  7. ADD setup_dependencies.sh setup_dependencies.sh
  8. RUN ./setup_dependencies.sh
  9. WORKDIR /home/lox/crates/lox-extensions
  10. RUN cargo test --release build --features bridgeauth,test,fast
  11. ENV SHELL=/bin/bash