Download Dockerfile.dev from scs09/zenex-ai-project: direct link, hf CLI and curl.
- Browser
- Download file 830 Bytes
-
https://huggingface.co/datasets/scs09/zenex-ai-project/resolve/main/Dockerfile.dev
- Command line
-
hf download hf://datasets/scs09/zenex-ai-project/Dockerfile.dev
-
curl -L -o Dockerfile.dev https://huggingface.co/datasets/scs09/zenex-ai-project/resolve/main/Dockerfile.dev
830 Bytes
| # Dev Dockerfile - CPU-only image for validating the full pipeline locally. | |
| # Use this for laptop / non-GPU development before scaling to H100s. | |
| FROM python:3.11-slim | |
| ENV PYTHONUNBUFFERED=1 \ | |
| PYTHONDONTWRITEBYTECODE=1 \ | |
| PIP_NO_CACHE_DIR=1 \ | |
| TOKENIZERS_PARALLELISM=false | |
| RUN set -eux; \ | |
| for i in 1 2 3; do \ | |
| apt-get update && \ | |
| apt-get install -y --no-install-recommends --fix-missing \ | |
| build-essential git curl ca-certificates && break || \ | |
| (echo "apt retry $i" && sleep 5); \ | |
| done; \ | |
| rm -rf /var/lib/apt/lists/* | |
| WORKDIR /workspace | |
| COPY requirements-dev.txt /workspace/requirements-dev.txt | |
| RUN pip install --upgrade pip wheel setuptools \ | |
| && pip install -r /workspace/requirements-dev.txt | |
| COPY . /workspace/llm_project | |
| ENV PYTHONPATH=/workspace/llm_project | |
| CMD ["bash"] | |