Download Dockerfile from fahadhafeezofficial/clsa-code: direct link, hf CLI and curl.
- Browser
- Download file 784 Bytes
-
https://huggingface.co/datasets/fahadhafeezofficial/clsa-code/resolve/main/Dockerfile
- Command line
-
hf download hf://datasets/fahadhafeezofficial/clsa-code/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/datasets/fahadhafeezofficial/clsa-code/resolve/main/Dockerfile
784 Bytes
| # Copyright (c) 2026 CLSA contributors | |
| # SPDX-License-Identifier: MIT | |
| # | |
| # CPU-only image. No GPU, no paid API, no vendor SDK is required for the core. | |
| FROM python:3.11-slim | |
| ENV PYTHONUNBUFFERED=1 \ | |
| PIP_NO_CACHE_DIR=1 \ | |
| CLSA_THREADS=4 \ | |
| HF_HUB_DISABLE_TELEMETRY=1 | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| git make build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /clsa | |
| COPY requirements.txt ./ | |
| RUN pip install --index-url https://download.pytorch.org/whl/cpu torch==2.5.1 \ | |
| && pip install -r requirements.txt | |
| COPY . . | |
| ENV PYTHONPATH=/clsa/src | |
| # Reduced reproduction path: benchmark audit, experiments from cached artefacts, | |
| # and all figures. Full training needs model downloads (~1.6 GB). | |
| CMD ["make", "reproduce"] | |