clsa-code / Dockerfile
fahadhafeezofficial's picture
Upload folder using huggingface_hub
fd5366a verified
Raw History Blame Contribute Delete
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"]