Download loda-rust/rust_project/arc-competition/arc.Dockerfile from Alignment-Lab-AI/ARC-stuff: direct link, hf CLI and curl.
- Browser
- Download file 921 Bytes
-
https://huggingface.co/datasets/Alignment-Lab-AI/ARC-stuff/resolve/main/loda-rust/rust_project/arc-competition/arc.Dockerfile
- Command line
-
hf download hf://datasets/Alignment-Lab-AI/ARC-stuff/loda-rust/rust_project/arc-competition/arc.Dockerfile
-
curl -L -o arc.Dockerfile https://huggingface.co/datasets/Alignment-Lab-AI/ARC-stuff/resolve/main/loda-rust/rust_project/arc-competition/arc.Dockerfile
921 Bytes
| #################################################################################################### | |
| ## Builder | |
| #################################################################################################### | |
| FROM rust:1.71.1 AS builder | |
| WORKDIR /my_builddir | |
| COPY ./loda-rust-core loda-rust-core | |
| COPY ./loda-rust-cli loda-rust-cli | |
| COPY ./loda-rust-web loda-rust-web | |
| COPY ./Cargo.toml Cargo.toml | |
| COPY ./Cargo.lock Cargo.lock | |
| RUN cargo build -vv --locked --config net.git-fetch-with-cli=true --release -p loda-rust-cli | |
| #################################################################################################### | |
| ## Final image | |
| #################################################################################################### | |
| FROM debian:bullseye-slim | |
| COPY --from=builder /my_builddir/target/release/loda-rust /usr/local/bin/loda-rust | |
| COPY ./arc-competition/payload /root | |
| CMD ["loda-rust", "arc-competition"] | |